rename the Profile template that the image builder uses to prevent name conflicts with the template that the kernel uses

SVN-Revision: 6336
This commit is contained in:
Felix Fietkau 2007-02-22 02:27:01 +00:00
parent f393bed10e
commit 5281d134cd
2 changed files with 2 additions and 2 deletions

View file

@ -151,7 +151,7 @@ sub gen_target_mk() {
PACKAGES:=".join(" ", @{$profile->{packages}})." PACKAGES:=".join(" ", @{$profile->{packages}})."
endef"; endef";
$profiles_eval .= " $profiles_eval .= "
\$(eval \$(call Profile,$conf\_$profile->{id}))" \$(eval \$(call AddProfile,$conf\_$profile->{id}))"
} }
print " print "
ifeq (\$(CONFIG_LINUX_$conf),y) ifeq (\$(CONFIG_LINUX_$conf),y)

View file

@ -37,7 +37,7 @@ define Profile/Default
PACKAGES:= PACKAGES:=
endef endef
define Profile define AddProfile
$(eval $(call Profile/Default)) $(eval $(call Profile/Default))
$(eval $(call Profile/$(1))) $(eval $(call Profile/$(1)))
ifneq ($(ID),) ifneq ($(ID),)