diff --git a/include/target.mk b/include/target.mk index 1590b9109..1f17883ab 100644 --- a/include/target.mk +++ b/include/target.mk @@ -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