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
1 changed files with 1 additions and 0 deletions

View File

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