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

SVN-Revision: 6336
v19.07.3_mercusys_ac12_duma
Felix Fietkau 18 years ago
parent f393bed10e
commit 5281d134cd

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

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

Loading…
Cancel
Save