aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-02-25 21:17:57 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-02-25 21:17:57 +0000
commit9b46161c675b484b72fa4e47cf9b6f142f6dd31c (patch)
treeedf438debcd7623aa29e6491dc2c91aa7312e045 /include
parent7d08f7199e814ea27be695e6d6768869f1d235cc (diff)
downloadupstream-9b46161c675b484b72fa4e47cf9b6f142f6dd31c.tar.gz
upstream-9b46161c675b484b72fa4e47cf9b6f142f6dd31c.tar.bz2
upstream-9b46161c675b484b72fa4e47cf9b6f142f6dd31c.zip
fix for including host.mk multiple times
SVN-Revision: 6369
Diffstat (limited to 'include')
-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