sdk: remove redundant symbol declaration
[openwrt/.git] / target / sdk / convert-config.pl
index 9fd2c362e6b2ea5b3c4e1fc69747e91b1ffe1d24..0e562f95582b718880ff201b4a5015fc317a5a28 100755 (executable)
@@ -3,12 +3,15 @@ use strict;
 
 while (<>) {
        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') {