The patch titled Subject: localmodconfig: recognize more keywords that end a menu entry has been added to the -mm tree. Its filename is localmodconfig-recognize-more-keywords-that-end-a-menu-entry.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/localmodconfig-recognize-more-keywords-that-end-a-menu-entry.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/localmodconfig-recognize-more-keywords-that-end-a-menu-entry.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Benjamin Poirier <bpoirier@xxxxxxxx> Subject: 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@xxxxxxxx Signed-off-by: Benjamin Poirier <bpoirier@xxxxxxxx> Signed-off-by: Steven Rostedt <rostedt@xxxxxxxxxxx> Cc: Michal Marek <mmarek@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- scripts/kconfig/streamline_config.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -puN scripts/kconfig/streamline_config.pl~localmodconfig-recognize-more-keywords-that-end-a-menu-entry scripts/kconfig/streamline_config.pl --- a/scripts/kconfig/streamline_config.pl~localmodconfig-recognize-more-keywords-that-end-a-menu-entry +++ a/scripts/kconfig/streamline_config.pl @@ -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"; } } _ Patches currently in -mm which might be from bpoirier@xxxxxxxx are localmodconfig-fix-parsing-of-kconfig-source-statements.patch localmodconfig-recognize-more-keywords-that-end-a-menu-entry.patch localmodconfig-fix-parsing-of-help-text.patch localmodconfig-add-missing-to-reference-a-variable.patch localmodconfig-reset-certificate-paths.patch localmodconfig-fix-whitespace-repeat-count-after-tristate.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html