fix for including host.mk multiple times

SVN-Revision: 6369
owl
Felix Fietkau 2007-02-25 21:17:57 +00:00
parent 7d08f7199e
commit 9b46161c67
1 changed files with 3 additions and 0 deletions

View 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