Skip to content

Instantly share code, notes, and snippets.

@neheb
Created November 13, 2018 20:46
Show Gist options
  • Save neheb/523652648e9480ee0fef44499f4e7df2 to your computer and use it in GitHub Desktop.
Save neheb/523652648e9480ee0fef44499f4e7df2 to your computer and use it in GitHub Desktop.
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