diff options
author | Benjamin Poirier <bpoirier@suse.com> | 2016-04-26 21:56:38 +0300 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2016-04-27 01:35:16 +0300 |
commit | 5bcba792bb304e8341217d759ec486969a3b4258 (patch) | |
tree | c8cf1a51408844ba21dbf0fafde44bba6d0ec08e /scripts/kconfig/streamline_config.pl | |
parent | 96bab35d1c4ab706922abd7cef8262fdca07664a (diff) | |
download | linux-5bcba792bb304e8341217d759ec486969a3b4258.tar.xz |
localmodconfig: Fix whitespace repeat count after "tristate"
Also recognize standalone "prompt".
Before this patch we incorrectly identified some symbols as not having a
prompt and potentially needing to be selected by something else.
Note that this patch could theoretically change the resulting .config,
causing it to have fewer symbols turned on. However, given the current set
of Kconfig files, this situation does not occur because the symbols newly
added to %prompts are absent from %selects.
Link: http://lkml.kernel.org/r/1461696998-3953-1-git-send-email-bpoirier@suse.com
Signed-off-by: Benjamin Poirier <bpoirier@suse.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'scripts/kconfig/streamline_config.pl')
-rwxr-xr-x | scripts/kconfig/streamline_config.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kconfig/streamline_config.pl b/scripts/kconfig/streamline_config.pl index 95a6f2b888d4..b8c7b29affc5 100755 --- a/scripts/kconfig/streamline_config.pl +++ b/scripts/kconfig/streamline_config.pl @@ -237,7 +237,7 @@ sub read_kconfig { } # configs without prompts must be selected - } elsif ($state ne "NONE" && /^\s*tristate\s\S/) { + } elsif ($state ne "NONE" && /^\s*(tristate\s+\S|prompt\b)/) { # note if the config has a prompt $prompts{$config} = 1; |