diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-08-26 12:15:50 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-08-26 12:15:50 +0000 |
commit | c541b31e4074c1cb0f73cb4a93280641e56b8811 (patch) | |
tree | 4c16899f39c4525cfb11765552c5bd243df70ada /rules.mk | |
parent | 8686e238731a1c8c64b7dfca7b9a904ff185ef45 (diff) | |
download | upstream-c541b31e4074c1cb0f73cb4a93280641e56b8811.tar.gz upstream-c541b31e4074c1cb0f73cb4a93280641e56b8811.tar.bz2 upstream-c541b31e4074c1cb0f73cb4a93280641e56b8811.zip |
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
Diffstat (limited to 'rules.mk')
-rw-r--r-- | rules.mk | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |