From 066a009c348602f578bbc37f6b83490b4930d679 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 2 Mar 2007 23:36:59 +0000 Subject: [PATCH] final fix for the profile selection SVN-Revision: 6474 --- include/target.mk | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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) $< $@ -- 2.25.1