From b26d576fd70a23f515d573e2bd301856f8b73fbc Mon Sep 17 00:00:00 2001 From: nbd Date: Fri, 28 Sep 2007 01:23:56 +0000 Subject: some minor fixes, cleanups, package build abstraction git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9051 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- include/target.mk | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'include/target.mk') diff --git a/include/target.mk b/include/target.mk index c8eb76c25..1590b9109 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)) -- cgit v1.2.3