bison: replace the yacc script with one that does not hardcode the path (fixes #20605)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r47050

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47051 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Felix Fietkau 2015-09-26 21:11:16 +00:00
parent ad5f485a4b
commit ff1ba24f51
2 changed files with 7 additions and 0 deletions

View 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))

2
tools/bison/scripts/yacc Executable file
View File

@ -0,0 +1,2 @@
#!/bin/sh
exec bison -y "$@"