From f6f0984c437589c5470728f6e4839e1597446384 Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Mon, 15 Dec 2014 20:14:27 +0000
Subject: [PATCH] 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
---
 include/host-build.mk | 1 +
 1 file changed, 1 insertion(+)

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
-- 
GitLab