build: prevent spurious host-build re-builds by touching .built after the install command before touching .installed

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43721
This commit is contained in:
Felix Fietkau 2014-12-15 20:14:27 +00:00
parent 0ffb7323d0
commit f6f0984c43

View file

@ -174,6 +174,7 @@ ifndef DUMP
$(call Host/Install) $(call Host/Install)
$(foreach hook,$(Hooks/HostInstall/Post),$(call $(hook))$(sep)) $(foreach hook,$(Hooks/HostInstall/Post),$(call $(hook))$(sep))
mkdir -p $$(shell dirname $$@) mkdir -p $$(shell dirname $$@)
touch $(HOST_STAMP_BUILT)
touch $$@ touch $$@
ifndef STAMP_BUILT ifndef STAMP_BUILT