提交 27b71568 编写于 作者: B Benjamin Poirier 提交者: Steven Rostedt

localmodconfig: Recognize more keywords that end a menu entry

Based on the list in Documentation/kbuild/kconfig-language.txt

This removes junk from %depends because parsing of a menu entry spilled
over to another menu entry.

Link: http://lkml.kernel.org/r/1460333193-16361-1-git-send-email-bpoirier@suse.comSigned-off-by: NBenjamin Poirier <bpoirier@suse.com>
Signed-off-by: NSteven Rostedt <rostedt@goodmis.org>
上级 296471ad
......@@ -256,8 +256,8 @@ sub read_kconfig {
$iflevel-- if ($iflevel);
# stop on "help"
} elsif (/^\s*help\s*$/) {
# stop on "help" and keywords that end a menu entry
} elsif (/^\s*help\s*$/ || /^(comment|choice|menu)\b/) {
$state = "NONE";
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册