From: Felix Fietkau Date: Thu, 22 Feb 2007 02:27:01 +0000 (+0000) Subject: rename the Profile template that the image builder uses to prevent name conflicts... X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5281d134cdf4bedc756a3e3e9e2d63a31b7674aa;p=openwrt%2Fstaging%2Frobimarko.git rename the Profile template that the image builder uses to prevent name conflicts with the template that the kernel uses SVN-Revision: 6336 --- diff --git a/scripts/metadata.pl b/scripts/metadata.pl index 7514a17135..d27cd8e59d 100755 --- a/scripts/metadata.pl +++ b/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) diff --git a/target/imagebuilder/files/Makefile b/target/imagebuilder/files/Makefile index eae3697e81..b36e2f2e31 100644 --- a/target/imagebuilder/files/Makefile +++ b/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),)