Skip to content
Snippets Groups Projects
Commit 12e99cb7 authored by juhosg's avatar juhosg
Browse files

fix target profiles, (closes: 2440)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9113 3c298f89-4303-0410-b956-a3cf2f4a3e73
parent 9706fcf4
No related branches found
No related tags found
No related merge requests found
#
#
# Copyright (C) 2007 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
......@@ -75,10 +75,22 @@ define Profile
endif
endef
ifeq ($(if $(TARGET_BUILD),$(DUMP)),1)
-include $(PLATFORM_DIR)/profiles/*.mk
ifneq ($(PLATFORM_DIR),$(PLATFORM_SUBDIR))
ifneq ($(PLATFORM_DIR),$(PLATFORM_SUBDIR))
define IncludeProfiles
-include $(PLATFORM_DIR)/profiles/*.mk
-include $(PLATFORM_SUBDIR)/profiles/*.mk
endef
else
define IncludeProfiles
-include $(PLATFORM_DIR)/profiles/*.mk
endef
endif
ifeq ($(TARGET_BUILD),1)
$(eval $(call IncludeProfiles))
else
ifeq ($(DUMP),)
$(eval $(call IncludeProfiles))
endif
endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment