1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-06-16 12:14:01 +02:00

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

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

SVN-Revision: 42300
This commit is contained in:
Felix Fietkau 2014-08-26 12:15:50 +00:00
parent 8686e23873
commit c541b31e40

View File

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