fix target profiles
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 2 Oct 2007 17:43:57 +0000 (17:43 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 2 Oct 2007 17:43:57 +0000 (17:43 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9099 3c298f89-4303-0410-b956-a3cf2f4a3e73

include/target.mk

index 1590b9109190027dd3a5e395f6407db83b83a677..1f17883ab17d062fc240179fe7fb88eb78db0bab 100644 (file)
@@ -75,7 +75,7 @@ define Profile
   endif
 endef
 
-ifeq ($(DUMP)$(if $(TARGET_BUILD),,1),)
+ifeq ($(if $(TARGET_BUILD),$(DUMP)),1)
   -include $(PLATFORM_DIR)/profiles/*.mk
   ifneq ($(PLATFORM_DIR),$(PLATFORM_SUBDIR))
     -include $(PLATFORM_SUBDIR)/profiles/*.mk