mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 06:20:53 +07:00
kconfig: Have streamline_config process menuconfigs too
Some menuconfigs in the Kconfig files have prompts and dependencies. Currently, streamline_config misses these, and this can cause streamline_config to keep modules enabled that should not be, and even worse, not enable those that should. This patch makes streamline_config process menuconfigs just like it would process a config. Reported-by: member graysky <graysky@archlinux.us> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
This commit is contained in:
parent
20d1904733
commit
8ef17fa2ef
@ -174,9 +174,9 @@ sub read_kconfig {
|
||||
}
|
||||
|
||||
# configs found
|
||||
if (/^\s*config\s+(\S+)\s*$/) {
|
||||
if (/^\s*(menu)?config\s+(\S+)\s*$/) {
|
||||
$state = "NEW";
|
||||
$config = $1;
|
||||
$config = $2;
|
||||
|
||||
for (my $i = 0; $i < $iflevel; $i++) {
|
||||
if ($i) {
|
||||
|
Loading…
Reference in New Issue
Block a user