From 9b46161c675b484b72fa4e47cf9b6f142f6dd31c Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Sun, 25 Feb 2007 21:17:57 +0000
Subject: [PATCH] fix for including host.mk multiple times

SVN-Revision: 6369
---
 include/host.mk | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/host.mk b/include/host.mk
index 4a434711c3..423ca16610 100644
--- a/include/host.mk
+++ b/include/host.mk
@@ -9,6 +9,8 @@ include $(TMP_DIR)/.host.mk
 
 export TAR
 
+ifneq ($(__host_inc),1)
+__host_inc:=1
 $(TMP_DIR)/.host.mk: $(TOPDIR)/include/host.mk
 	@mkdir -p $(TMP_DIR)
 	@( \
@@ -32,3 +34,4 @@ $(TMP_DIR)/.host.mk: $(TOPDIR)/include/host.mk
 		echo "BASH:=$(shell which bash)" >> $@; \
 	)
 
+endif
-- 
GitLab