X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=target%2Fsdk%2Fconvert-config.pl;h=e701b42eb93af249a3c59c0d12235806b1e82e51;hp=9fd2c362e6b2ea5b3c4e1fc69747e91b1ffe1d24;hb=11c588bc9614acef0537ec430be40af25c4ed9d5;hpb=cedfe135ab102ac2f8390dd82b496de3c383d3cc diff --git a/target/sdk/convert-config.pl b/target/sdk/convert-config.pl index 9fd2c362e6..e701b42eb9 100755 --- a/target/sdk/convert-config.pl +++ b/target/sdk/convert-config.pl @@ -1,14 +1,24 @@ #!/usr/bin/env perl use strict; +print <) { chomp; + next if /^CONFIG_SIGNED_PACKAGES/; 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') {