aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-12-15 20:14:27 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-12-15 20:14:27 +0000
commitf6f0984c437589c5470728f6e4839e1597446384 (patch)
tree270c6e72a5aa868d50db3c14b90203a36c57e304
parent0ffb7323d0f6a0739996ee02db6e5fd04b8bc9c8 (diff)
downloadupstream-f6f0984c437589c5470728f6e4839e1597446384.tar.gz
upstream-f6f0984c437589c5470728f6e4839e1597446384.tar.bz2
upstream-f6f0984c437589c5470728f6e4839e1597446384.zip
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
-rw-r--r--include/host-build.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/host-build.mk b/include/host-build.mk
index 126671a0b3..ad821f72c4 100644
--- a/include/host-build.mk
+++ b/include/host-build.mk
@@ -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