diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-08-26 12:16:18 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-08-26 12:16:18 +0000 |
commit | 6b611cc132649c6f256862f923930867de945842 (patch) | |
tree | cbe6d08acd319aa0c50fcc19ce99bfabb6ac6437 /rules.mk | |
parent | 8e18457f04d52eff970bebc743907b75d8baeffc (diff) | |
download | upstream-6b611cc132649c6f256862f923930867de945842.tar.gz upstream-6b611cc132649c6f256862f923930867de945842.tar.bz2 upstream-6b611cc132649c6f256862f923930867de945842.zip |
build: override hardcoded paths to bison and m4 to make the SDK more relocatable
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r42300
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42301 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 |