fix for including host.mk multiple times
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 25 Feb 2007 21:17:57 +0000 (21:17 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 25 Feb 2007 21:17:57 +0000 (21:17 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6369 3c298f89-4303-0410-b956-a3cf2f4a3e73

include/host.mk

index 4a43471..423ca16 100644 (file)
@@ -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