Browse Source

build: override hardcoded paths to bison and m4 to make the SDK more relocatable

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

SVN-Revision: 42300
Felix Fietkau 11 years ago
parent
commit
c541b31e40
1 changed files with 3 additions and 0 deletions
  1. 3 0
      rules.mk

+ 3 - 0
rules.mk

@@ -269,6 +269,9 @@ ifeq ($(CONFIG_BUILD_LOG),y)
   BUILD_LOG:=1
 endif
 
+export BISON_PKGDATADIR:=$(STAGING_DIR_HOST)/share/bison
+export M4:=$(STAGING_DIR_HOST)/bin/m4
+
 define shvar
 V_$(subst .,_,$(subst -,_,$(subst /,_,$(1))))
 endef