diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-03-02 23:13:52 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-03-02 23:13:52 +0000 |
commit | 8069e38587e32aaa069a0a9b06de3f72706f7e9b (patch) | |
tree | 53b433fddae825c1c8b37c2239eaac1a9776b891 /include/target.mk | |
parent | b09fbccb2454775441b8fb0199172d5bf1af1594 (diff) | |
download | upstream-8069e38587e32aaa069a0a9b06de3f72706f7e9b.tar.gz upstream-8069e38587e32aaa069a0a9b06de3f72706f7e9b.tar.bz2 upstream-8069e38587e32aaa069a0a9b06de3f72706f7e9b.zip |
set the PROFILE variable in target.mk appropriately
SVN-Revision: 6470
Diffstat (limited to 'include/target.mk')
-rw-r--r-- | include/target.mk | 6 |
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) $< $@ |