summaryrefslogtreecommitdiff
path: root/include/host.mk
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/host.mk
parent7d08f7199e814ea27be695e6d6768869f1d235cc (diff)
downloadmtk-20170518-9b46161c675b484b72fa4e47cf9b6f142f6dd31c.zip
mtk-20170518-9b46161c675b484b72fa4e47cf9b6f142f6dd31c.tar.gz
mtk-20170518-9b46161c675b484b72fa4e47cf9b6f142f6dd31c.tar.bz2
fix for including host.mk multiple times
SVN-Revision: 6369
Diffstat (limited to 'include/host.mk')
-rw-r--r--include/host.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/host.mk b/include/host.mk
index 4a43471..423ca16 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