aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/target.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/target.mk b/include/target.mk
index bd3ceb955b..d0f7b9bc2b 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) $< $@