diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-04-30 19:24:00 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2009-08-18 22:02:40 -0400 |
commit | d08ca2771e3aabddc7922d800a386f187c51f8a4 (patch) | |
tree | a87a8b0417297b705a87a5ed875aeb718dd20d6d /scripts/kconfig | |
parent | cdfc47950a531199a553cebab0ac481aa7062948 (diff) |
kconfig: unset IKCONFIG_PROC and clean up nesting
Due to cut and paste error IKCONFIG was both set and cleared.
It was suppose to be IKCONFIG_PROC to be cleared.
Also cleaned up if nesting.
Reported-by: Alan Jenkins <sourcejedi.lkml@googlemail.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'scripts/kconfig')
-rw-r--r-- | scripts/kconfig/streamline_config.pl | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/scripts/kconfig/streamline_config.pl b/scripts/kconfig/streamline_config.pl index 9fa3f81b1ed9..69b7c3f6a2f4 100644 --- a/scripts/kconfig/streamline_config.pl +++ b/scripts/kconfig/streamline_config.pl | |||
@@ -323,7 +323,7 @@ while(<CIN>) { | |||
323 | # enable IKCONFIG at least as a module | 323 | # enable IKCONFIG at least as a module |
324 | print "CONFIG_IKCONFIG=m\n"; | 324 | print "CONFIG_IKCONFIG=m\n"; |
325 | # don't ask about PROC | 325 | # don't ask about PROC |
326 | print "# CONFIG_IKCONFIG is not set\n"; | 326 | print "# CONFIG_IKCONFIG_PROC is not set\n"; |
327 | } else { | 327 | } else { |
328 | print; | 328 | print; |
329 | } | 329 | } |
@@ -333,15 +333,12 @@ while(<CIN>) { | |||
333 | if (/^(CONFIG.*)=(m|y)/) { | 333 | if (/^(CONFIG.*)=(m|y)/) { |
334 | if (defined($configs{$1})) { | 334 | if (defined($configs{$1})) { |
335 | $setconfigs{$1} = $2; | 335 | $setconfigs{$1} = $2; |
336 | print; | ||
337 | } elsif ($2 eq "m") { | 336 | } elsif ($2 eq "m") { |
338 | print "# $1 is not set\n"; | 337 | print "# $1 is not set\n"; |
339 | } else { | 338 | next; |
340 | print; | ||
341 | } | 339 | } |
342 | } else { | ||
343 | print; | ||
344 | } | 340 | } |
341 | print; | ||
345 | } | 342 | } |
346 | close(CIN); | 343 | close(CIN); |
347 | 344 | ||