]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
kconfig: make local .config default for streamline_config
authorSteven Rostedt <srostedt@redhat.com>
Thu, 7 May 2009 15:01:34 +0000 (11:01 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 19 Aug 2009 02:04:05 +0000 (22:04 -0400)
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>
scripts/kconfig/streamline_config.pl

index 46ca62d4ffabb291d2bb8294fc2c595e4857839e..95984db8e1e097264d386910ca8d091bc5294a45 100644 (file)
@@ -49,6 +49,10 @@ my $uname = `uname -r`;
 chomp $uname;
 
 my @searchconfigs = (
+       {
+           "file" => ".config",
+           "exec" => "cat",
+       },
        {
            "file" => "/proc/config.gz",
            "exec" => "zcat",
@@ -82,10 +86,6 @@ my @searchconfigs = (
            "exec" => "scripts/extract-ikconfig",
            "test" => "scripts/extract-ikconfig",
        },
-       {
-           "file" => ".config",
-           "exec" => "cat",
-       },
 );
 
 sub find_config {