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 | 0b67a9fef5052092042f1865c3d97fa802cb8a79 (patch) | |
tree | cdc8b7ce55aabf4f43d5642c1d68de35aaf03bad | |
parent | 5c4e3032a10c92732052d0257498dbe1b0336740 (diff) | |
download | master-187ad058-0b67a9fef5052092042f1865c3d97fa802cb8a79.tar.gz master-187ad058-0b67a9fef5052092042f1865c3d97fa802cb8a79.tar.bz2 master-187ad058-0b67a9fef5052092042f1865c3d97fa802cb8a79.zip |
build: override hardcoded paths to bison and m4 to make the SDK more relocatable
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42300 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 |