[source] include/host-build.mk: pass HOST_BUILD_PREFIX to Host/install
LEDE Commits
lede-commits at lists.infradead.org
Wed Oct 5 17:11:31 PDT 2016
neoraider pushed a commit to source.git, branch master:
https://git.lede-project.org/7064a849ce3342428c8e120e225b6b45c58e95cd
commit 7064a849ce3342428c8e120e225b6b45c58e95cd
Author: Matthias Schiffer <mschiffer at universe-factory.net>
AuthorDate: Thu Oct 6 00:02:21 2016 +0200
include/host-build.mk: pass HOST_BUILD_PREFIX to Host/install
Using HOST_BUILD_PREFIX instead of STAGING_DIR_HOST will make the argument
work as expected from packages.
Nothing changes for tools, for which HOST_BUILD_PREFIX and STAGING_DIR_HOST
are equivalent.
Signed-off-by: Matthias Schiffer <mschiffer at universe-factory.net>
---
include/host-build.mk | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/host-build.mk b/include/host-build.mk
index 659cdc4..0b10c7c 100644
--- a/include/host-build.mk
+++ b/include/host-build.mk
@@ -111,7 +111,7 @@ define Host/Install/Default
endef
define Host/Install
- $(call Host/Install/Default,$(STAGING_DIR_HOST))
+ $(call Host/Install/Default,$(HOST_BUILD_PREFIX))
endef
@@ -173,7 +173,7 @@ ifndef DUMP
touch $$@
$(HOST_STAMP_INSTALLED): $(HOST_STAMP_BUILT) $(if $(FORCE_HOST_INSTALL),FORCE)
- $(call Host/Install,$(STAGING_DIR_HOST))
+ $(call Host/Install,$(HOST_BUILD_PREFIX))
$(foreach hook,$(Hooks/HostInstall/Post),$(call $(hook))$(sep))
mkdir -p $$(shell dirname $$@)
touch $(HOST_STAMP_BUILT)
More information about the lede-commits
mailing list