set the PROFILE variable in target.mk appropriately

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6470 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Felix Fietkau 2007-03-02 23:13:52 +00:00
parent 65355dcead
commit e8503a6ff0
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) $< $@