lantiq: new image build process - fix kernel entry address
[openwrt.git] / target / sdk / convert-config.pl
index 9fd2c36..e701b42 100755 (executable)
@@ -1,14 +1,24 @@
 #!/usr/bin/env perl
 use strict;
 
+print <<EOF;
+config ALL
+       bool
+       default y
+
+EOF
+
 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') {