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
This commit is contained in:
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)
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 "$@"