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 07f03c42bd35c145fda13172a02cc038f46631f9..c76e2978b2092e28b4bb5606b82a37ea87f664a2 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";