Skip to content

Commit

Permalink
kconfig: make local .config default for streamline_config
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Steven Rostedt authored and Steven Rostedt committed Aug 19, 2009
1 parent 810b2be commit a902483
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/kconfig/streamline_config.pl
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@
chomp $uname;

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

sub find_config {
Expand Down

0 comments on commit a902483

Please sign in to comment.