Author: nbd
Date: 2015-11-07 13:52:07 +0100 (Sat, 07 Nov 2015)
New Revision: 47409

Modified:
   trunk/rules.mk
Log:
rules.mk: export STAGING_DIR_HOST to sub-makefiles and shells

Certains host packages (like quilt) need to know the previously used
install location at run-time. They currently use $STAGING_DIR, which
causes issues on cleaned environment, where $STAGING_DIR doesn't exist
yet.

Signed-off-by: Mathieu Olivari <[email protected]>

Modified: trunk/rules.mk
===================================================================
--- trunk/rules.mk      2015-11-07 12:52:01 UTC (rev 47408)
+++ trunk/rules.mk      2015-11-07 12:52:07 UTC (rev 47409)
@@ -188,7 +188,7 @@
 endif
 
 export PATH:=$(TARGET_PATH)
-export STAGING_DIR
+export STAGING_DIR STAGING_DIR_HOST
 export SH_FUNC:=. $(INCLUDE_DIR)/shell.sh;
 
 PKG_CONFIG:=$(STAGING_DIR_HOST)/bin/pkg-config
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to