aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2016-11-01 12:07:56 +0100
committerJo-Philipp Wich <jo@mein.io>2016-11-01 12:11:14 +0100
commitd7bec5609c6e7408726f455c97d82b2b99d9ef19 (patch)
tree5a7e17d088d66cc25d6e0e398116e1312c25b1d3
parentfb58cd2fed9f9f6caef061a892bb1811e3faa11d (diff)
downloadupstream-d7bec5609c6e7408726f455c97d82b2b99d9ef19.tar.gz
upstream-d7bec5609c6e7408726f455c97d82b2b99d9ef19.tar.bz2
upstream-d7bec5609c6e7408726f455c97d82b2b99d9ef19.zip
rules.mk: add STAGING_DIR_HOSTPKG variable
Add a STAGING_DIR_HOSTPKG variable which refers to $(STAGING_DIR)/host in order to prepare support for relocating that directory in the future. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-rw-r--r--rules.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/rules.mk b/rules.mk
index de24778614..d455f0d960 100644
--- a/rules.mk
+++ b/rules.mk
@@ -140,6 +140,7 @@ PKG_INFO_DIR := $(STAGING_DIR)/pkginfo
BUILD_DIR_HOST:=$(if $(IS_PACKAGE_BUILD),$(BUILD_DIR)/host,$(BUILD_DIR_BASE)/host)
STAGING_DIR_HOST:=$(TOPDIR)/staging_dir/host
+STAGING_DIR_HOSTPKG:=$(STAGING_DIR)/host
TARGET_PATH:=$(subst $(space),:,$(filter-out .,$(filter-out ./,$(subst :,$(space),$(PATH)))))
TARGET_INIT_PATH:=$(call qstrip,$(CONFIG_TARGET_INIT_PATH))