kconfig.pl: interpret =n as undefined symbol
authorFelix Fietkau <nbd@openwrt.org>
Tue, 24 Mar 2009 01:34:23 +0000 (01:34 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 24 Mar 2009 01:34:23 +0000 (01:34 +0000)
SVN-Revision: 15003

scripts/kconfig.pl

index 07f03c4..c76e297 100755 (executable)
@@ -94,7 +94,7 @@ sub config_sub($$) {
 sub print_cfgline($$) {
        my $name = shift;
        my $val = shift;
-       if ($val eq '#undef') {
+       if ($val eq '#undef' or $val eq 'n') {
                print "# $PREFIX$name is not set\n";
        } else {
                print "$PREFIX$name=$val\n";