bison: replace the yacc script with one that does not hardcode the path (fixes #20605)
[openwrt/staging/mkresin.git] / tools / bison / Makefile
index 10d872048415262f5df12361f843c3a75f9fccd4..256512116f9f7b8f90f2dcce24846286e5c50025 100644 (file)
@@ -23,4 +23,9 @@ define Host/Clean
        $(call Host/Clean/Default)
 endef
 
+define Host/Install
+       $(call Host/Install/Default)
+       $(INSTALL_BIN) ./scripts/yacc $(STAGING_DIR_HOST)/bin/yacc
+endef
+
 $(eval $(call HostBuild))