Skip to content
Snippets Groups Projects
Commit 693458a4 authored by nbd's avatar nbd
Browse files

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


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

Backport of r42300

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42301 3c298f89-4303-0410-b956-a3cf2f4a3e73
parent dc422c52
No related branches found
No related tags found
No related merge requests found
...@@ -269,6 +269,9 @@ ifeq ($(CONFIG_BUILD_LOG),y) ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment