diff options
-rw-r--r-- | scripts/kconfig/streamline_config.pl | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/scripts/kconfig/streamline_config.pl b/scripts/kconfig/streamline_config.pl index 177490540fe6..caac952212ef 100644 --- a/scripts/kconfig/streamline_config.pl +++ b/scripts/kconfig/streamline_config.pl | |||
@@ -256,12 +256,14 @@ my %setconfigs; | |||
256 | # Finally, read the .config file and turn off any module enabled that | 256 | # Finally, read the .config file and turn off any module enabled that |
257 | # we could not find a reason to keep enabled. | 257 | # we could not find a reason to keep enabled. |
258 | while(<CIN>) { | 258 | while(<CIN>) { |
259 | if (/^(CONFIG.*)=m/) { | 259 | if (/^(CONFIG.*)=(m|y)/) { |
260 | if (defined($configs{$1})) { | 260 | if (defined($configs{$1})) { |
261 | $setconfigs{$1} = 1; | 261 | $setconfigs{$1} = $2; |
262 | print; | 262 | print; |
263 | } else { | 263 | } elsif ($2 eq "m") { |
264 | print "# $1 is not set\n"; | 264 | print "# $1 is not set\n"; |
265 | } else { | ||
266 | print; | ||
265 | } | 267 | } |
266 | } else { | 268 | } else { |
267 | print; | 269 | print; |