projects
/
15.05
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CC: openvpn: add handling for route-pre-down option
[15.05/openwrt.git]
/
target
/
sdk
/
convert-config.pl
diff --git
a/target/sdk/convert-config.pl
b/target/sdk/convert-config.pl
index
9fd2c36
..
e701b42
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') {