summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-02-25 21:17:57 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-02-25 21:17:57 +0000
commit6c26dacd2ceccc533f8a05f9ec4a600793ec06e9 (patch)
treedd61427bd9dc0596210d4f69ab9d226f4387174a
parent93bcd1e554e6cd092c5dc057daa921a751697fd1 (diff)
fix for including host.mk multiple times
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6369 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--include/host.mk3
1 files changed, 3 insertions, 0 deletions
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