From: Jo-Philipp Wich Date: Tue, 1 Nov 2016 11:09:30 +0000 (+0100) Subject: include/host-build.mk: use STAGING_DIR_HOSTPKG X-Git-Tag: v17.01.0-rc1~978 X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=commitdiff_plain;h=b7f7e9fe424bc80bf89d3ebb18adcac412e4047f include/host-build.mk: use STAGING_DIR_HOSTPKG Instead of hardcoding $(STAGING_DIR)/host, use the new $(STAGING_DIR_HOSTPKG) variable to refer to the directory. Signed-off-by: Jo-Philipp Wich --- diff --git a/include/host-build.mk b/include/host-build.mk index 56e0e4e413..d353c88b5c 100644 --- a/include/host-build.mk +++ b/include/host-build.mk @@ -30,7 +30,7 @@ BUILD_TYPES += host HOST_STAMP_PREPARED=$(HOST_BUILD_DIR)/.prepared$(if $(HOST_QUILT)$(DUMP),,$(shell $(call find_md5,${CURDIR} $(PKG_FILE_DEPENDS),))) HOST_STAMP_CONFIGURED:=$(HOST_BUILD_DIR)/.configured HOST_STAMP_BUILT:=$(HOST_BUILD_DIR)/.built -HOST_BUILD_PREFIX:=$(if $(IS_PACKAGE_BUILD),$(STAGING_DIR)/host,$(STAGING_DIR_HOST)) +HOST_BUILD_PREFIX:=$(if $(IS_PACKAGE_BUILD),$(STAGING_DIR_HOSTPKG),$(STAGING_DIR_HOST)) HOST_STAMP_INSTALLED:=$(HOST_BUILD_PREFIX)/stamp/.$(PKG_NAME)_installed override MAKEFLAGS=