fix for including host.mk multiple times
[openwrt.org/openwrt.git] / include / host.mk
blob:a/include/host.mk -> blob:b/include/host.mk
--- a/include/host.mk
+++ b/include/host.mk
@@ -9,6 +9,8 @@
 
 export TAR
 
+ifneq ($(__host_inc),1)
+__host_inc:=1
 $(TMP_DIR)/.host.mk: $(TOPDIR)/include/host.mk
 	@mkdir -p $(TMP_DIR)
 	@( \
@@ -32,4 +34,5 @@
 		echo "BASH:=$(shell which bash)" >> $@; \
 	)
 
+endif
 

comments