Skip to content

Commit

Permalink
kconfig: unset IKCONFIG_PROC and clean up nesting
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Steven Rostedt authored and Steven Rostedt committed Aug 19, 2009
1 parent cdfc479 commit d08ca27
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions scripts/kconfig/streamline_config.pl
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ sub parse_config_dep_select
# enable IKCONFIG at least as a module
print "CONFIG_IKCONFIG=m\n";
# don't ask about PROC
print "# CONFIG_IKCONFIG is not set\n";
print "# CONFIG_IKCONFIG_PROC is not set\n";
} else {
print;
}
Expand All @@ -333,15 +333,12 @@ sub parse_config_dep_select
if (/^(CONFIG.*)=(m|y)/) {
if (defined($configs{$1})) {
$setconfigs{$1} = $2;
print;
} elsif ($2 eq "m") {
print "# $1 is not set\n";
} else {
print;
next;
}
} else {
print;
}
print;
}
close(CIN);

Expand Down

0 comments on commit d08ca27

Please sign in to comment.