From e8503a6ff092d0d7af9b4ec84de93ef7ed0adcc2 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 2 Mar 2007 23:13:52 +0000 Subject: set the PROFILE variable in target.mk appropriately git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6470 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- include/target.mk | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/target.mk') 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) $< $@ -- cgit v1.2.3