projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kernel: update kernel 4.4 to version 4.4.10
[openwrt/openwrt.git]
/
target
/
sdk
/
convert-config.pl
diff --git
a/target/sdk/convert-config.pl
b/target/sdk/convert-config.pl
index 9fd2c362e6b2ea5b3c4e1fc69747e91b1ffe1d24..e701b42eb93af249a3c59c0d12235806b1e82e51 100755
(executable)
--- a/
target/sdk/convert-config.pl
+++ b/
target/sdk/convert-config.pl
@@
-1,14
+1,24
@@
#!/usr/bin/env perl
use strict;
#!/usr/bin/env perl
use strict;
+print <<EOF;
+config ALL
+ bool
+ default y
+
+EOF
+
while (<>) {
chomp;
while (<>) {
chomp;
+ next if /^CONFIG_SIGNED_PACKAGES/;
next unless /^CONFIG_([^=]+)=(.*)$/;
my $var = $1;
my $val = $2;
my $type;
next unless /^CONFIG_([^=]+)=(.*)$/;
my $var = $1;
my $val = $2;
my $type;
+ next if $var eq 'ALL';
+
if ($val eq 'y') {
$type = "bool";
} elsif ($val eq 'm') {
if ($val eq 'y') {
$type = "bool";
} elsif ($val eq 'm') {