[source] include/host-build.mk: use STAGING_DIR_HOSTPKG

LEDE Commits lede-commits at lists.infradead.org
Tue Nov 1 04:40:25 PDT 2016


jow pushed a commit to source.git, branch master:
https://git.lede-project.org/b7f7e9fe424bc80bf89d3ebb18adcac412e4047f

commit b7f7e9fe424bc80bf89d3ebb18adcac412e4047f
Author: Jo-Philipp Wich <jo at mein.io>
AuthorDate: Tue Nov 1 12:09:30 2016 +0100

    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 <jo at mein.io>
---
 include/host-build.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/host-build.mk b/include/host-build.mk
index 56e0e4e..d353c88 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=



More information about the lede-commits mailing list