aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rules.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/rules.mk b/rules.mk
index a84636a21b..c9efb9e8c9 100644
--- 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