Author: nbd
Date: 2014-08-26 14:16:18 +0200 (Tue, 26 Aug 2014)
New Revision: 42301

Modified:
   branches/barrier_breaker/rules.mk
Log:
build: override hardcoded paths to bison and m4 to make the SDK more relocatable

Signed-off-by: Felix Fietkau <[email protected]>

Backport of r42300

Modified: branches/barrier_breaker/rules.mk
===================================================================
--- branches/barrier_breaker/rules.mk   2014-08-26 12:15:50 UTC (rev 42300)
+++ branches/barrier_breaker/rules.mk   2014-08-26 12:16:18 UTC (rev 42301)
@@ -269,6 +269,9 @@
   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
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to