Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 27b71568 authored by Benjamin Poirier's avatar Benjamin Poirier Committed by Steven Rostedt
Browse files

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.com



Signed-off-by: default avatarBenjamin Poirier <bpoirier@suse.com>
Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
parent 296471ad
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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";
	}
    }