From 8069e38587e32aaa069a0a9b06de3f72706f7e9b Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 2 Mar 2007 23:13:52 +0000 Subject: [PATCH] set the PROFILE variable in target.mk appropriately SVN-Revision: 6470 --- include/target.mk | 6 ++++++ 1 file changed, 6 insertions(+) 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) $< $@ -- 2.30.2