[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241014141345.5680-8-david.hunter.linux@gmail.com>
Date: Mon, 14 Oct 2024 10:13:37 -0400
From: David Hunter <david.hunter.linux@...il.com>
To: Masahiro Yamada <masahiroy@...nel.org>
Cc: David Hunter <david.hunter.linux@...il.com>,
linux-kbuild@...r.kernel.org,
linux-kernel@...r.kernel.org,
shuah@...nel.org,
javier.carrasco.cruz@...il.com,
Steven Rostedt <rostedt@...dmis.org>
Subject: [PATCH v2 7/7] streamline_config.pl: check prompt for bool options
Select configs that do not have a prompt. Config options can be bool or
tristate. Ensure that bool options are also selected.
Signed-off-by: David Hunter <david.hunter.linux@...il.com>
---
V1 https://lore.kernel.org/all/20240913171205.22126-2-david.hunter.linux@gmail.com/
V2
- changed patch subject
- changed the order of this patch in the series patch
---
scripts/kconfig/streamline_config.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/kconfig/streamline_config.pl b/scripts/kconfig/streamline_config.pl
index 4038afed2926..8c75ab888f87 100755
--- a/scripts/kconfig/streamline_config.pl
+++ b/scripts/kconfig/streamline_config.pl
@@ -273,7 +273,7 @@ sub read_kconfig {
}
# configs without prompts must be selected
- } elsif ($state ne "NONE" && /^\s*(tristate\s+\S|prompt\b)/) {
+ } elsif ($state ne "NONE" && /^\s*((bool|tristate)\s+\S|prompt\b)/) {
# note if the config has a prompt
$prompts{$config} = 1;
--
2.43.0
Powered by blists - more mailing lists