From 940793d6a3d8403c117f31adf812f0309cd0bc30 Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Thu, 30 Apr 2009 10:59:08 -0400 Subject: [PATCH] --- yaml --- r: 161310 b: refs/heads/master c: ea2c1894b66301bce565471d6914d49ce91ee015 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/scripts/kconfig/streamline_config.pl | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index 09ff3db9f54c..6f43d2bc5b77 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 74398d3224c0942c479bef76de542e95c202a478 +refs/heads/master: ea2c1894b66301bce565471d6914d49ce91ee015 diff --git a/trunk/scripts/kconfig/streamline_config.pl b/trunk/scripts/kconfig/streamline_config.pl index 177490540fe6..caac952212ef 100644 --- a/trunk/scripts/kconfig/streamline_config.pl +++ b/trunk/scripts/kconfig/streamline_config.pl @@ -256,12 +256,14 @@ sub parse_config_dep_select # Finally, read the .config file and turn off any module enabled that # we could not find a reason to keep enabled. while() { - if (/^(CONFIG.*)=m/) { + if (/^(CONFIG.*)=(m|y)/) { if (defined($configs{$1})) { - $setconfigs{$1} = 1; + $setconfigs{$1} = $2; print; - } else { + } elsif ($2 eq "m") { print "# $1 is not set\n"; + } else { + print; } } else { print;