fix target profiles
authorFelix Fietkau <nbd@openwrt.org>
Tue, 2 Oct 2007 17:43:57 +0000 (17:43 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 2 Oct 2007 17:43:57 +0000 (17:43 +0000)
SVN-Revision: 9099

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