Sfoglia il codice sorgente

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

SVN-Revision: 6336
Felix Fietkau 19 anni fa
parent
commit
5281d134cd
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 1 1
      scripts/metadata.pl
  2. 1 1
      target/imagebuilder/files/Makefile

+ 1 - 1
scripts/metadata.pl

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

+ 1 - 1
target/imagebuilder/files/Makefile

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