target/sdk: use .config instead of unconditionally enabling all build dirs
Call make defconfig on every build to catch newly added packages Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39913
This commit is contained in:
@@ -1,6 +1,13 @@
|
||||
#!/usr/bin/env perl
|
||||
use strict;
|
||||
|
||||
print <<EOF;
|
||||
config ALL
|
||||
bool
|
||||
default y
|
||||
|
||||
EOF
|
||||
|
||||
while (<>) {
|
||||
chomp;
|
||||
next unless /^CONFIG_([^=]+)=(.*)$/;
|
||||
@@ -9,6 +16,8 @@ while (<>) {
|
||||
my $val = $2;
|
||||
my $type;
|
||||
|
||||
next if $var eq 'ALL';
|
||||
|
||||
if ($val eq 'y') {
|
||||
$type = "bool";
|
||||
} elsif ($val eq 'm') {
|
||||
|
||||
Reference in New Issue
Block a user