aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-03-02 23:36:59 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-03-02 23:36:59 +0000
commitad43641baf8bd6031d80829a0568316ba1cd2fa5 (patch)
tree5cb6626e4792caf5c0884b632309d21617a8075d
parent517da5f0b441bec61adb17be48db677f8b8a73a8 (diff)
downloadmaster-187ad058-ad43641baf8bd6031d80829a0568316ba1cd2fa5.tar.gz
master-187ad058-ad43641baf8bd6031d80829a0568316ba1cd2fa5.tar.bz2
master-187ad058-ad43641baf8bd6031d80829a0568316ba1cd2fa5.zip
final fix for the profile selection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6474 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--include/target.mk8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/target.mk b/include/target.mk
index d0f7b9bc2b..1718a869c1 100644
--- a/include/target.mk
+++ b/include/target.mk
@@ -5,14 +5,16 @@
# See /LICENSE for more information.
#
-include $(TMP_DIR)/.target.mk
define AddProfile
- ifeq ($(CONFIG_LINUX_$(call confname,$(KERNEL)_$(1))),y)
- PROFILE=$(1)
+ ifeq ($(CONFIG_LINUX_$(1)),y)
+ $(call Profile/$(1))
+ PROFILE=$$(ID)
endif
endef
+include $(TMP_DIR)/.target.mk
+
ifeq ($(IB),1)
$(TMP_DIR)/.target.mk: $(TOPDIR)/.target.mk
$(CP) $< $@