summaryrefslogtreecommitdiff
path: root/include/host-build.mk
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 /include/host-build.mk
parent0ffb7323d0f6a0739996ee02db6e5fd04b8bc9c8 (diff)
downloadmtk-20170518-f6f0984c437589c5470728f6e4839e1597446384.zip
mtk-20170518-f6f0984c437589c5470728f6e4839e1597446384.tar.gz
mtk-20170518-f6f0984c437589c5470728f6e4839e1597446384.tar.bz2
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
Diffstat (limited to 'include/host-build.mk')
-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 126671a..ad821f7 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