Skip to content

Commit f4c4d50

Browse files
committed
build: remove profile kernel/build system config override support
It has been unused for years Signed-off-by: Felix Fietkau <[email protected]>
1 parent 7a67b0e commit f4c4d50

5 files changed

Lines changed: 0 additions & 15 deletions

File tree

include/target.mk

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -67,19 +67,12 @@ ifndef Profile
6767
define Profile
6868
$(eval $(call ProfileDefault))
6969
$(eval $(call Profile/$(1)))
70-
dumpinfo : $(call shexport,Profile/$(1)/Config)
7170
dumpinfo : $(call shexport,Profile/$(1)/Description)
7271
DUMPINFO += \
7372
echo "Target-Profile: $(1)"; \
7473
$(if $(PRIORITY), echo "Target-Profile-Priority: $(PRIORITY)"; ) \
7574
echo "Target-Profile-Name: $(NAME)"; \
7675
echo "Target-Profile-Packages: $(PACKAGES) $(call extra_packages,$(DEFAULT_PACKAGES) $(PACKAGES))"; \
77-
if [ -f ./config/profile-$(1) ]; then \
78-
echo "Target-Profile-Kconfig: yes"; \
79-
fi; \
80-
echo "Target-Profile-Config: "; \
81-
echo "$$$$$$$$$(call shvar,Profile/$(1)/Config)"; \
82-
echo "@@"; \
8376
echo "Target-Profile-Description:"; \
8477
echo "$$$$$$$$$(call shvar,Profile/$(1)/Description)"; \
8578
echo "@@"; \

scripts/metadata.pl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,9 +287,7 @@ ()
287287
config TARGET_$target->{conf}_$profile->{id}
288288
bool "$profile->{name}"
289289
depends on TARGET_$target->{conf}
290-
$profile->{config}
291290
EOF
292-
$profile->{kconfig} and print "\tselect PROFILE_KCONFIG\n";
293291
my @pkglist = merge_package_lists($target->{packages}, $profile->{packages});
294292
foreach my $pkg (@pkglist) {
295293
print "\tselect DEFAULT_$pkg\n";

scripts/metadata.pm

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,6 @@ sub parse_target_metadata($) {
9696
};
9797
/^Target-Profile-Packages:\s*(.*)\s*$/ and $profile->{packages} = [ split(/\s+/, $1) ];
9898
/^Target-Profile-Description:\s*(.*)\s*/ and $profile->{desc} = get_multiline(*FILE);
99-
/^Target-Profile-Config:/ and $profile->{config} = get_multiline(*FILE, "\t");
100-
/^Target-Profile-Kconfig:/ and $profile->{kconfig} = 1;
10199
}
102100
close FILE;
103101
foreach my $target (@target) {

target/Config.in

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,6 @@ config USES_UBIFS
6767
bool
6868
select NAND_SUPPORT
6969

70-
config PROFILE_KCONFIG
71-
bool
72-
7370
config LOW_MEMORY_FOOTPRINT
7471
bool
7572

target/imagebuilder/Config.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
config IB
22
bool "Build the LEDE Image Builder"
3-
depends on !PROFILE_KCONFIG
43
depends on !EXTERNAL_TOOLCHAIN
54
help
65
This is essentially a stripped-down version of the buildroot

0 commit comments

Comments
 (0)