From: Matthias Schiffer Date: Wed, 5 Oct 2016 22:28:45 +0000 (+0200) Subject: include/host-build.mk: set Host/Exports for Host/Install step X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=cb718eb34bc392bac8d91047d5bebf839fa6a2f5;p=openwrt%2Fstaging%2Fmans0n.git 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 --- diff --git a/include/host-build.mk b/include/host-build.mk index 688f8d8442..72b32597d4 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))