summaryrefslogtreecommitdiff
path: root/scripts/kconfig
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2009-04-30 19:30:04 -0400
committerSteven Rostedt <rostedt@goodmis.org>2009-08-18 22:03:45 -0400
commit810b2be65610af13d60f1e16c0a0f93cbc1f9d06 (patch)
treef090338ba67ed5da4d7c51d88f0a4dd7302cb8c2 /scripts/kconfig
parentd08ca2771e3aabddc7922d800a386f187c51f8a4 (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>
Diffstat (limited to 'scripts/kconfig')
-rw-r--r--scripts/kconfig/streamline_config.pl4
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 = (
"exec" => "zcat",
},
{
+ "file" => "/boot/config-$uname",
+ "exec" => "cat",
+ },
+ {
"file" => "/boot/vmlinuz-$uname",
"exec" => "scripts/extract-ikconfig",
"test" => "scripts/extract-ikconfig",