diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-04-30 19:30:04 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2009-08-18 22:03:45 -0400 |
commit | 810b2be65610af13d60f1e16c0a0f93cbc1f9d06 (patch) | |
tree | f090338ba67ed5da4d7c51d88f0a4dd7302cb8c2 | |
parent | d08ca2771e3aabddc7922d800a386f187c51f8a4 (diff) |
kconfig: test for /boot/config-uname after /proc/config.gz in localconfig
Many distros put their config in /boot/config-`uname -r`, add a check
for that right after /proc/config.gz
Reported-by: Alan Jenkins <sourcejedi.lkml@googlemail.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
-rw-r--r-- | scripts/kconfig/streamline_config.pl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/kconfig/streamline_config.pl b/scripts/kconfig/streamline_config.pl index 69b7c3f6a2f4..46ca62d4ffab 100644 --- a/scripts/kconfig/streamline_config.pl +++ b/scripts/kconfig/streamline_config.pl | |||
@@ -54,6 +54,10 @@ my @searchconfigs = ( | |||
54 | "exec" => "zcat", | 54 | "exec" => "zcat", |
55 | }, | 55 | }, |
56 | { | 56 | { |
57 | "file" => "/boot/config-$uname", | ||
58 | "exec" => "cat", | ||
59 | }, | ||
60 | { | ||
57 | "file" => "/boot/vmlinuz-$uname", | 61 | "file" => "/boot/vmlinuz-$uname", |
58 | "exec" => "scripts/extract-ikconfig", | 62 | "exec" => "scripts/extract-ikconfig", |
59 | "test" => "scripts/extract-ikconfig", | 63 | "test" => "scripts/extract-ikconfig", |