aboutsummaryrefslogtreecommitdiffstats
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
commit6f2fe80b72a7acd7a064a9606d0f828f83b9d54e (patch)
treedd61427bd9dc0596210d4f69ab9d226f4387174a
parentef322346f8b05750ff07c76c824646bc48724738 (diff)
downloadupstream-6f2fe80b72a7acd7a064a9606d0f828f83b9d54e.tar.gz
upstream-6f2fe80b72a7acd7a064a9606d0f828f83b9d54e.tar.bz2
upstream-6f2fe80b72a7acd7a064a9606d0f828f83b9d54e.zip
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