Author: nbd
Date: 2015-09-26 23:10:48 +0200 (Sat, 26 Sep 2015)
New Revision: 47050

Added:
   trunk/tools/bison/scripts/
   trunk/tools/bison/scripts/yacc
Modified:
   trunk/tools/bison/Makefile
Log:
bison: replace the yacc script with one that does not hardcode the path (fixes 
#20605)

Signed-off-by: Felix Fietkau <[email protected]>

Modified: trunk/tools/bison/Makefile
===================================================================
--- trunk/tools/bison/Makefile  2015-09-26 21:10:37 UTC (rev 47049)
+++ trunk/tools/bison/Makefile  2015-09-26 21:10:48 UTC (rev 47050)
@@ -23,4 +23,9 @@
        $(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))

Added: trunk/tools/bison/scripts/yacc
===================================================================
--- trunk/tools/bison/scripts/yacc                              (rev 0)
+++ trunk/tools/bison/scripts/yacc      2015-09-26 21:10:48 UTC (rev 47050)
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec bison -y "$@"


Property changes on: trunk/tools/bison/scripts/yacc
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to