summaryrefslogtreecommitdiff
path: root/scripts/kconfig.pl
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-03-24 01:34:23 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-03-24 01:34:23 +0000
commit9a3368ebca2057f5bfa73f6f3e97bd54b9b0a07b (patch)
tree050b8ebf5670afcbe295d6b2de920ce9743e0936 /scripts/kconfig.pl
parent59848db7da1fbefbcccea1f87cdfc7f94211c3cb (diff)
downloadmtk-20170518-9a3368ebca2057f5bfa73f6f3e97bd54b9b0a07b.zip
mtk-20170518-9a3368ebca2057f5bfa73f6f3e97bd54b9b0a07b.tar.gz
mtk-20170518-9a3368ebca2057f5bfa73f6f3e97bd54b9b0a07b.tar.bz2
kconfig.pl: interpret =n as undefined symbol
SVN-Revision: 15003
Diffstat (limited to 'scripts/kconfig.pl')
-rwxr-xr-xscripts/kconfig.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kconfig.pl b/scripts/kconfig.pl
index 07f03c4..c76e297 100755
--- a/scripts/kconfig.pl
+++ b/scripts/kconfig.pl
@@ -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";