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: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
chomp $uname;
my @searchconfigs = (
+ {
+ "file" => ".config",
+ "exec" => "cat",
+ },
{
"file" => "/proc/config.gz",
"exec" => "zcat",
"exec" => "scripts/extract-ikconfig",
"test" => "scripts/extract-ikconfig",
},
- {
- "file" => ".config",
- "exec" => "cat",
- },
);
sub find_config {