Browse Source

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 <[email protected]>
Matthias Schiffer 9 năm trước cách đây
mục cha
commit
cb718eb34b
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      include/host-build.mk

+ 1 - 0
include/host-build.mk

@@ -172,6 +172,7 @@ ifndef DUMP
 		$(foreach hook,$(Hooks/HostCompile/Post),$(call $(hook))$(sep))
 		$(foreach hook,$(Hooks/HostCompile/Post),$(call $(hook))$(sep))
 		touch $$@
 		touch $$@
 
 
+  $(call Host/Exports,$(HOST_STAMP_INSTALLED))
   $(HOST_STAMP_INSTALLED): $(HOST_STAMP_BUILT) $(if $(FORCE_HOST_INSTALL),FORCE)
   $(HOST_STAMP_INSTALLED): $(HOST_STAMP_BUILT) $(if $(FORCE_HOST_INSTALL),FORCE)
 		$(call Host/Install,$(HOST_BUILD_PREFIX))
 		$(call Host/Install,$(HOST_BUILD_PREFIX))
 		$(foreach hook,$(Hooks/HostInstall/Post),$(call $(hook))$(sep))
 		$(foreach hook,$(Hooks/HostInstall/Post),$(call $(hook))$(sep))