build: remove profile kernel/build system config override support

It has been unused for years

Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Felix Fietkau 2016-05-15 20:35:58 +02:00
parent 7a67b0e362
commit f4c4d501e4
5 changed files with 0 additions and 15 deletions

View file

@ -67,19 +67,12 @@ ifndef Profile
define Profile define Profile
$(eval $(call ProfileDefault)) $(eval $(call ProfileDefault))
$(eval $(call Profile/$(1))) $(eval $(call Profile/$(1)))
dumpinfo : $(call shexport,Profile/$(1)/Config)
dumpinfo : $(call shexport,Profile/$(1)/Description) dumpinfo : $(call shexport,Profile/$(1)/Description)
DUMPINFO += \ DUMPINFO += \
echo "Target-Profile: $(1)"; \ echo "Target-Profile: $(1)"; \
$(if $(PRIORITY), echo "Target-Profile-Priority: $(PRIORITY)"; ) \ $(if $(PRIORITY), echo "Target-Profile-Priority: $(PRIORITY)"; ) \
echo "Target-Profile-Name: $(NAME)"; \ echo "Target-Profile-Name: $(NAME)"; \
echo "Target-Profile-Packages: $(PACKAGES) $(call extra_packages,$(DEFAULT_PACKAGES) $(PACKAGES))"; \ echo "Target-Profile-Packages: $(PACKAGES) $(call extra_packages,$(DEFAULT_PACKAGES) $(PACKAGES))"; \
if [ -f ./config/profile-$(1) ]; then \
echo "Target-Profile-Kconfig: yes"; \
fi; \
echo "Target-Profile-Config: "; \
echo "$$$$$$$$$(call shvar,Profile/$(1)/Config)"; \
echo "@@"; \
echo "Target-Profile-Description:"; \ echo "Target-Profile-Description:"; \
echo "$$$$$$$$$(call shvar,Profile/$(1)/Description)"; \ echo "$$$$$$$$$(call shvar,Profile/$(1)/Description)"; \
echo "@@"; \ echo "@@"; \

View file

@ -287,9 +287,7 @@ EOF
config TARGET_$target->{conf}_$profile->{id} config TARGET_$target->{conf}_$profile->{id}
bool "$profile->{name}" bool "$profile->{name}"
depends on TARGET_$target->{conf} depends on TARGET_$target->{conf}
$profile->{config}
EOF EOF
$profile->{kconfig} and print "\tselect PROFILE_KCONFIG\n";
my @pkglist = merge_package_lists($target->{packages}, $profile->{packages}); my @pkglist = merge_package_lists($target->{packages}, $profile->{packages});
foreach my $pkg (@pkglist) { foreach my $pkg (@pkglist) {
print "\tselect DEFAULT_$pkg\n"; print "\tselect DEFAULT_$pkg\n";

View file

@ -96,8 +96,6 @@ sub parse_target_metadata($) {
}; };
/^Target-Profile-Packages:\s*(.*)\s*$/ and $profile->{packages} = [ split(/\s+/, $1) ]; /^Target-Profile-Packages:\s*(.*)\s*$/ and $profile->{packages} = [ split(/\s+/, $1) ];
/^Target-Profile-Description:\s*(.*)\s*/ and $profile->{desc} = get_multiline(*FILE); /^Target-Profile-Description:\s*(.*)\s*/ and $profile->{desc} = get_multiline(*FILE);
/^Target-Profile-Config:/ and $profile->{config} = get_multiline(*FILE, "\t");
/^Target-Profile-Kconfig:/ and $profile->{kconfig} = 1;
} }
close FILE; close FILE;
foreach my $target (@target) { foreach my $target (@target) {

View file

@ -67,9 +67,6 @@ config USES_UBIFS
bool bool
select NAND_SUPPORT select NAND_SUPPORT
config PROFILE_KCONFIG
bool
config LOW_MEMORY_FOOTPRINT config LOW_MEMORY_FOOTPRINT
bool bool

View file

@ -1,6 +1,5 @@
config IB config IB
bool "Build the LEDE Image Builder" bool "Build the LEDE Image Builder"
depends on !PROFILE_KCONFIG
depends on !EXTERNAL_TOOLCHAIN depends on !EXTERNAL_TOOLCHAIN
help help
This is essentially a stripped-down version of the buildroot This is essentially a stripped-down version of the buildroot