From: Felix Fietkau Date: Fri, 2 Mar 2007 23:13:52 +0000 (+0000) Subject: set the PROFILE variable in target.mk appropriately X-Git-Tag: reboot~29801 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8069e38587e32aaa069a0a9b06de3f72706f7e9b;p=openwrt%2Fstaging%2Fxback.git set the PROFILE variable in target.mk appropriately SVN-Revision: 6470 --- 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) $< $@