Created
November 13, 2018 20:46
-
-
Save neheb/523652648e9480ee0fef44499f4e7df2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/tools/flex/Makefile b/tools/flex/Makefile | |
index 1eff81f345..cc07de88f5 100644 | |
--- a/tools/flex/Makefile | |
+++ b/tools/flex/Makefile | |
@@ -21,6 +21,11 @@ include $(INCLUDE_DIR)/host-build.mk | |
HOST_CONFIGURE_ARGS += --disable-shared | |
+define Host/Install | |
+ $(call Host/Install/Default) | |
+ $(LN) $(HOST_BUILD_DIR)/flex $(STAGING_DIR_HOST)/bin/lex | |
+endef | |
+ | |
define Host/Clean | |
-$(MAKE) -C $(HOST_BUILD_DIR) uninstall | |
$(call Host/Clean/Default) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment