From 6c26dacd2ceccc533f8a05f9ec4a600793ec06e9 Mon Sep 17 00:00:00 2001
From: nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Sun, 25 Feb 2007 21:17:57 +0000
Subject: [PATCH] fix for including host.mk multiple times

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6369 3c298f89-4303-0410-b956-a3cf2f4a3e73
---
 include/host.mk | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/host.mk b/include/host.mk
index 4a434711c..423ca1661 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
-- 
2.20.1