aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-11-07 12:52:07 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-11-07 12:52:07 +0000
commit279c8bee8d6584b68b182f509927f27477ec0a4c (patch)
tree8b51d42c73c27c9ea7a428d801f9c2768650c3f8
parent08f1e1b3ac42a1128c7854886e9962fac87eac4b (diff)
downloadupstream-279c8bee8d6584b68b182f509927f27477ec0a4c.tar.gz
upstream-279c8bee8d6584b68b182f509927f27477ec0a4c.tar.bz2
upstream-279c8bee8d6584b68b182f509927f27477ec0a4c.zip
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 <mathieu@codeaurora.org> SVN-Revision: 47409
-rw-r--r--rules.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.mk b/rules.mk
index 7710fb4d9d..348b45d6e1 100644
--- a/rules.mk
+++ b/rules.mk
@@ -188,7 +188,7 @@ else
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