Bläddra i källkod

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

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

SVN-Revision: 47050
Felix Fietkau 10 år sedan
förälder
incheckning
877f2972d4
2 ändrade filer med 7 tillägg och 0 borttagningar
  1. 5 0
      tools/bison/Makefile
  2. 2 0
      tools/bison/scripts/yacc

+ 5 - 0
tools/bison/Makefile

@@ -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 - 0
tools/bison/scripts/yacc

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