X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=blobdiff_plain;f=target%2Fsdk%2Fconvert-config.pl;fp=target%2Fsdk%2Fconvert-config.pl;h=243de0b87b419376962961bfbeef1408b9aafe46;hp=9fd2c362e6b2ea5b3c4e1fc69747e91b1ffe1d24;hb=b07e567e6cc425b2293fbc83c187c1558fdf186b;hpb=4b07676d91294bca0ebafb9424320238c005f302 diff --git a/target/sdk/convert-config.pl b/target/sdk/convert-config.pl index 9fd2c362e6..243de0b87b 100755 --- a/target/sdk/convert-config.pl +++ b/target/sdk/convert-config.pl @@ -1,6 +1,13 @@ #!/usr/bin/env perl use strict; +print <) { chomp; next unless /^CONFIG_([^=]+)=(.*)$/; @@ -9,6 +16,8 @@ while (<>) { my $val = $2; my $type; + next if $var eq 'ALL'; + if ($val eq 'y') { $type = "bool"; } elsif ($val eq 'm') {