allow uml to access host.mk at DUMP time
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 3 Mar 2009 15:45:15 +0000 (15:45 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 3 Mar 2009 15:45:15 +0000 (15:45 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14743 3c298f89-4303-0410-b956-a3cf2f4a3e73

include/host.mk

index 497d044503b3d53ba18d8d75d44e9021d1dca65c..9d0c64372a3075634d95914971b05a4c3cacc986 100644 (file)
@@ -6,7 +6,7 @@
 #
 
 TMP_DIR ?= $(TOPDIR)/tmp
-ifndef DUMP
+ifeq ($(if $(TARGET_BUILD),,$(DUMP)),)
   -include $(TMP_DIR)/.host.mk
 endif