From: Felix Fietkau Date: Sun, 25 Feb 2007 21:17:57 +0000 (+0000) Subject: fix for including host.mk multiple times X-Git-Tag: reboot~29875 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9b46161c675b484b72fa4e47cf9b6f142f6dd31c;p=oweals%2Fopenwrt.git fix for including host.mk multiple times SVN-Revision: 6369 --- 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