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 497d044..9d0c643 100644 (file)
@@ -6,7 +6,7 @@
 #
 
 TMP_DIR ?= $(TOPDIR)/tmp
-ifndef DUMP
+ifeq ($(if $(TARGET_BUILD),,$(DUMP)),)
   -include $(TMP_DIR)/.host.mk
 endif