diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-03-02 23:13:52 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-03-02 23:13:52 +0000 |
commit | 0d719c226f8dc082abd9dbbaa9c37de54f470f5c (patch) | |
tree | 401735036a11a5144aa9b6c723e8c9b4b79bc196 | |
parent | 3dd863f452c2dc1c209d9b00b0470cb56e1c2c4a (diff) |
set the PROFILE variable in target.mk appropriately
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6470 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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) $< $@ |