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

Commit a9024838 authored by Steven Rostedt's avatar Steven Rostedt Committed by Steven Rostedt
Browse files

kconfig: make local .config default for streamline_config



As Andi Kleen pointed out, most people would expect that the local .config
file to be based for a streamline config. This patch changes the order
of searching for a config file to consider the .config in the local
directory first.

Reported-by: default avatarAndi Kleen <andi@firstfloor.org>
Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
parent 810b2be6
Loading
Loading
Loading
Loading
+4 −4
Original line number Original line Diff line number Diff line
@@ -49,6 +49,10 @@ my $uname = `uname -r`;
chomp $uname;
chomp $uname;


my @searchconfigs = (
my @searchconfigs = (
	{
	    "file" => ".config",
	    "exec" => "cat",
	},
	{
	{
	    "file" => "/proc/config.gz",
	    "file" => "/proc/config.gz",
	    "exec" => "zcat",
	    "exec" => "zcat",
@@ -82,10 +86,6 @@ my @searchconfigs = (
	    "exec" => "scripts/extract-ikconfig",
	    "exec" => "scripts/extract-ikconfig",
	    "test" => "scripts/extract-ikconfig",
	    "test" => "scripts/extract-ikconfig",
	},
	},
	{
	    "file" => ".config",
	    "exec" => "cat",
	},
);
);


sub find_config {
sub find_config {