From 0d719c226f8dc082abd9dbbaa9c37de54f470f5c Mon Sep 17 00:00:00 2001 From: nbd Date: Fri, 2 Mar 2007 23:13:52 +0000 Subject: [PATCH] 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(+) diff --git a/include/target.mk b/include/target.mk index bd3ceb955..d0f7b9bc2 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) $< $@