aboutsummaryrefslogtreecommitdiffstats
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
commitec6f0322ead6f721f8804e8bf8026f4e34898da9 (patch)
tree6b1a09867413551bd81471c0b98964fb410f26b9 /include/host-build.mk
parentcf0960f8060f8849d206ac8ec999c352316bb719 (diff)
downloadmaster-187ad058-ec6f0322ead6f721f8804e8bf8026f4e34898da9.tar.gz
master-187ad058-ec6f0322ead6f721f8804e8bf8026f4e34898da9.tar.bz2
master-187ad058-ec6f0322ead6f721f8804e8bf8026f4e34898da9.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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43721 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 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