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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43721 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2014-12-15 20:14:27 +00:00
parent 0614783c47
commit 144c54e35a

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