summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-03-02 23:13:52 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-03-02 23:13:52 +0000
commit8069e38587e32aaa069a0a9b06de3f72706f7e9b (patch)
tree53b433fddae825c1c8b37c2239eaac1a9776b891
parentb09fbccb2454775441b8fb0199172d5bf1af1594 (diff)
downloadmtk-20170518-8069e38587e32aaa069a0a9b06de3f72706f7e9b.zip
mtk-20170518-8069e38587e32aaa069a0a9b06de3f72706f7e9b.tar.gz
mtk-20170518-8069e38587e32aaa069a0a9b06de3f72706f7e9b.tar.bz2
set the PROFILE variable in target.mk appropriately
SVN-Revision: 6470
-rw-r--r--include/target.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/target.mk b/include/target.mk
index bd3ceb9..d0f7b9b 100644
--- a/include/target.mk
+++ b/include/target.mk
@@ -7,6 +7,12 @@
include $(TMP_DIR)/.target.mk
+define AddProfile
+ ifeq ($(CONFIG_LINUX_$(call confname,$(KERNEL)_$(1))),y)
+ PROFILE=$(1)
+ endif
+endef
+
ifeq ($(IB),1)
$(TMP_DIR)/.target.mk: $(TOPDIR)/.target.mk
$(CP) $< $@