projects
/
openwrt
/
staging
/
linusw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8686e23
)
build: override hardcoded paths to bison and m4 to make the SDK more relocatable
author
Felix Fietkau
<nbd@openwrt.org>
Tue, 26 Aug 2014 12:15:50 +0000
(12:15 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Tue, 26 Aug 2014 12:15:50 +0000
(12:15 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 42300
rules.mk
patch
|
blob
|
history
diff --git
a/rules.mk
b/rules.mk
index a84636a21b3bd0799c3eeb1fb734f818cd982e2a..c9efb9e8c9e29595845eeceb2cc95664b39aeea8 100644
(file)
--- a/
rules.mk
+++ b/
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