|
@@ -19,8 +19,9 @@ HOST_FLATCC_CONF_OPTS += -DFLATCC_TEST=OFF
|
|
FLATCC_CONF_OPTS += -DFLATCC_INSTALL=ON
|
|
FLATCC_CONF_OPTS += -DFLATCC_INSTALL=ON
|
|
HOST_FLATCC_CONF_OPTS += -DFLATCC_INSTALL=ON
|
|
HOST_FLATCC_CONF_OPTS += -DFLATCC_INSTALL=ON
|
|
|
|
|
|
|
|
+# compiler is named flatcc or flatcc_d depending on BR2_ENABLE_DEBUG value
|
|
define FLATCC_TARGET_REMOVE_FLATCC_COMPILER
|
|
define FLATCC_TARGET_REMOVE_FLATCC_COMPILER
|
|
- rm $(TARGET_DIR)/usr/bin/flatcc
|
|
|
|
|
|
+ rm $(TARGET_DIR)/usr/bin/flatcc*
|
|
endef
|
|
endef
|
|
|
|
|
|
FLATCC_POST_INSTALL_TARGET_HOOKS += FLATCC_TARGET_REMOVE_FLATCC_COMPILER
|
|
FLATCC_POST_INSTALL_TARGET_HOOKS += FLATCC_TARGET_REMOVE_FLATCC_COMPILER
|