aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/streamline_config.pl
diff options
context:
space:
mode:
authorBenjamin Poirier <bpoirier@suse.com>2016-04-02 10:55:21 -0700
committerSteven Rostedt <rostedt@goodmis.org>2016-04-26 09:59:21 -0400
commit296471ad51780996d3b1f2dfb65bc4dbdea69a1e (patch)
treea6108698164e8afd39b034c341ff4fcbb85e702e /scripts/kconfig/streamline_config.pl
parentLinux 4.6-rc5 (diff)
downloadlinux-dev-296471ad51780996d3b1f2dfb65bc4dbdea69a1e.tar.xz
linux-dev-296471ad51780996d3b1f2dfb65bc4dbdea69a1e.zip
localmodconfig: Fix parsing of Kconfig "source" statements
The parameter of Kconfig "source" statements does not need to be quoted. The current regex causes many kconfig files to be skipped and hence, dependencies to be missed. Also fix the whitespace repeat count. Link: http://lkml.kernel.org/r/1459619722-13695-1-git-send-email-bpoirier@suse.com Tested-by: Lee, Chun-Yi <jlee@suse.com> Signed-off-by: Benjamin Poirier <bpoirier@suse.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to '')
-rwxr-xr-xscripts/kconfig/streamline_config.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kconfig/streamline_config.pl b/scripts/kconfig/streamline_config.pl
index f3d3fb42b873..7036ae306db6 100755
--- a/scripts/kconfig/streamline_config.pl
+++ b/scripts/kconfig/streamline_config.pl
@@ -188,7 +188,7 @@ sub read_kconfig {
$cont = 0;
# collect any Kconfig sources
- if (/^source\s*"(.*)"/) {
+ if (/^source\s+"?([^"]+)/) {
my $kconfig = $1;
# prevent reading twice.
if (!defined($read_kconfigs{$kconfig})) {