set the PROFILE variable in target.mk appropriately

SVN-Revision: 6470
This commit is contained in:
Felix Fietkau 2007-03-02 23:13:52 +00:00
parent b09fbccb24
commit 8069e38587
1 changed files with 6 additions and 0 deletions

View File

@ -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) $< $@