allow uml to access host.mk at DUMP time
authorFelix Fietkau <nbd@openwrt.org>
Tue, 3 Mar 2009 15:45:15 +0000 (15:45 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 3 Mar 2009 15:45:15 +0000 (15:45 +0000)
SVN-Revision: 14743

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