summaryrefslogtreecommitdiff
path: root/include/target.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-09-28 01:23:56 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-09-28 01:23:56 +0000
commit800ef0f56ca5971811267b5639c7895c2d569491 (patch)
tree4223d1f8eb3174463a4f20bc90c8e68d6eb13b19 /include/target.mk
parentbb402acf616778e36b0d0b24c71167407875fea5 (diff)
downloadmtk-20170518-800ef0f56ca5971811267b5639c7895c2d569491.zip
mtk-20170518-800ef0f56ca5971811267b5639c7895c2d569491.tar.gz
mtk-20170518-800ef0f56ca5971811267b5639c7895c2d569491.tar.bz2
some minor fixes, cleanups, package build abstraction
SVN-Revision: 9051
Diffstat (limited to 'include/target.mk')
-rw-r--r--include/target.mk8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/target.mk b/include/target.mk
index c8eb76c..1590b91 100644
--- a/include/target.mk
+++ b/include/target.mk
@@ -75,9 +75,11 @@ define Profile
endif
endef
--include $(PLATFORM_DIR)/profiles/*.mk
-ifneq ($(PLATFORM_DIR),$(PLATFORM_SUBDIR))
- -include $(PLATFORM_SUBDIR)/profiles/*.mk
+ifeq ($(DUMP)$(if $(TARGET_BUILD),,1),)
+ -include $(PLATFORM_DIR)/profiles/*.mk
+ ifneq ($(PLATFORM_DIR),$(PLATFORM_SUBDIR))
+ -include $(PLATFORM_SUBDIR)/profiles/*.mk
+ endif
endif
$(eval $(call shexport,Target/Description))