diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-11-07 12:52:07 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-11-07 12:52:07 +0000 |
commit | a9b1f01c42082b1cd1d208b47937c30e4938c4e5 (patch) | |
tree | b7b7643f4722703c8e708b0c72b76bb7952be679 /rules.mk | |
parent | da75ff37f1081e91082e812a54f044a526e6f097 (diff) | |
download | master-187ad058-a9b1f01c42082b1cd1d208b47937c30e4938c4e5.tar.gz master-187ad058-a9b1f01c42082b1cd1d208b47937c30e4938c4e5.tar.bz2 master-187ad058-a9b1f01c42082b1cd1d208b47937c30e4938c4e5.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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47409 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'rules.mk')
-rw-r--r-- | rules.mk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |