From: Felix Fietkau Date: Tue, 26 Aug 2014 12:15:50 +0000 (+0000) Subject: build: override hardcoded paths to bison and m4 to make the SDK more relocatable X-Git-Url: https://git.archive.openwrt.org/?a=commitdiff_plain;h=0b67a9fef5052092042f1865c3d97fa802cb8a79;p=15.05%2Fopenwrt.git build: override hardcoded paths to bison and m4 to make the SDK more relocatable Signed-off-by: Felix Fietkau git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42300 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/rules.mk b/rules.mk index a84636a21b..c9efb9e8c9 100644 --- a/rules.mk +++ b/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