Browse Source

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
test-seperate-ports
nbd 7 years ago
parent
commit
693458a4bd
  1. 3
      rules.mk

3
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

Loading…
Cancel
Save