[source] include/host-build.mk: set Host/Exports for Host/Install step

LEDE Commits lede-commits at lists.infradead.org
Wed Oct 5 17:11:33 PDT 2016


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

commit cb718eb34bc392bac8d91047d5bebf839fa6a2f5
Author: Matthias Schiffer <mschiffer at universe-factory.net>
AuthorDate: Thu Oct 6 00:28:45 2016 +0200

    include/host-build.mk: set Host/Exports for Host/Install step
    
    Having a different PATH in Host/Install than in other steps like Host/Build
    is confusing and easily leads to mistakes. Setting all of Host/Exports
    makes host builds match target builds (Build/Install is part of
    $(STAMP_BUILT), which has Build/Exports set).
    
    Signed-off-by: Matthias Schiffer <mschiffer at universe-factory.net>
---
 include/host-build.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/host-build.mk b/include/host-build.mk
index 688f8d8..72b3259 100644
--- a/include/host-build.mk
+++ b/include/host-build.mk
@@ -172,6 +172,7 @@ ifndef DUMP
 		$(foreach hook,$(Hooks/HostCompile/Post),$(call $(hook))$(sep))
 		touch $$@
 
+  $(call Host/Exports,$(HOST_STAMP_INSTALLED))
   $(HOST_STAMP_INSTALLED): $(HOST_STAMP_BUILT) $(if $(FORCE_HOST_INSTALL),FORCE)
 		$(call Host/Install,$(HOST_BUILD_PREFIX))
 		$(foreach hook,$(Hooks/HostInstall/Post),$(call $(hook))$(sep))



More information about the lede-commits mailing list