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

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

SVN-Revision: 47050
owl
Felix Fietkau 2015-09-26 21:10:48 +00:00
parent a883639e92
commit 877f2972d4
2 changed files with 7 additions and 0 deletions

View File

@ -23,4 +23,9 @@ define Host/Clean
$(call Host/Clean/Default) $(call Host/Clean/Default)
endef endef
define Host/Install
$(call Host/Install/Default)
$(INSTALL_BIN) ./scripts/yacc $(STAGING_DIR_HOST)/bin/yacc
endef
$(eval $(call HostBuild)) $(eval $(call HostBuild))

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

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