aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
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
parent810b2be65610af13d60f1e16c0a0f93cbc1f9d06 (diff)
downloadkernel_samsung_smdk4412-a9024838d029ecd9a6d1389bec798b7296278d6b.zip
kernel_samsung_smdk4412-a9024838d029ecd9a6d1389bec798b7296278d6b.tar.gz
kernel_samsung_smdk4412-a9024838d029ecd9a6d1389bec798b7296278d6b.tar.bz2
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')
-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 46ca62d..95984db 100644
--- a/scripts/kconfig/streamline_config.pl
+++ b/scripts/kconfig/streamline_config.pl
@@ -50,6 +50,10 @@ 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 {