aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/kconfig
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2009-05-07 11:01:34 -0400
committerSteven Rostedt <rostedt@goodmis.org>2009-08-18 22:04:05 -0400
commita9024838d029ecd9a6d1389bec798b7296278d6b (patch)
treec6b4605ca82a1b3b409eb444823d46e525c9e366 /scripts/kconfig
parent810b2be65610af13d60f1e16c0a0f93cbc1f9d06 (diff)
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: Andi Kleen <andi@firstfloor.org> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'scripts/kconfig')
-rw-r--r--scripts/kconfig/streamline_config.pl8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/kconfig/streamline_config.pl b/scripts/kconfig/streamline_config.pl
index 46ca62d4ffab..95984db8e1e0 100644
--- a/scripts/kconfig/streamline_config.pl
+++ b/scripts/kconfig/streamline_config.pl
@@ -50,6 +50,10 @@ chomp $uname;
50 50
51my @searchconfigs = ( 51my @searchconfigs = (
52 { 52 {
53 "file" => ".config",
54 "exec" => "cat",
55 },
56 {
53 "file" => "/proc/config.gz", 57 "file" => "/proc/config.gz",
54 "exec" => "zcat", 58 "exec" => "zcat",
55 }, 59 },
@@ -82,10 +86,6 @@ my @searchconfigs = (
82 "exec" => "scripts/extract-ikconfig", 86 "exec" => "scripts/extract-ikconfig",
83 "test" => "scripts/extract-ikconfig", 87 "test" => "scripts/extract-ikconfig",
84 }, 88 },
85 {
86 "file" => ".config",
87 "exec" => "cat",
88 },
89); 89);
90 90
91sub find_config { 91sub find_config {