From: nbd Date: Fri, 2 Mar 2007 23:36:59 +0000 (+0000) Subject: final fix for the profile selection X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=commitdiff_plain;h=bfb1bd03544db4b097c6967e4ce177626c6350d6;ds=sidebyside final fix for the profile selection git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6474 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/include/target.mk b/include/target.mk index d0f7b9bc2b..1718a869c1 100644 --- a/include/target.mk +++ b/include/target.mk @@ -5,14 +5,16 @@ # See /LICENSE for more information. # -include $(TMP_DIR)/.target.mk define AddProfile - ifeq ($(CONFIG_LINUX_$(call confname,$(KERNEL)_$(1))),y) - PROFILE=$(1) + ifeq ($(CONFIG_LINUX_$(1)),y) + $(call Profile/$(1)) + PROFILE=$$(ID) endif endef +include $(TMP_DIR)/.target.mk + ifeq ($(IB),1) $(TMP_DIR)/.target.mk: $(TOPDIR)/.target.mk $(CP) $< $@