summaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/streamline_config.pl
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2009-05-01 01:30:04 +0200
committerSteven Rostedt <rostedt@goodmis.org>2009-08-19 04:03:45 +0200
commit810b2be65610af13d60f1e16c0a0f93cbc1f9d06 (patch)
treef090338ba67ed5da4d7c51d88f0a4dd7302cb8c2 /scripts/kconfig/streamline_config.pl
parentkconfig: unset IKCONFIG_PROC and clean up nesting (diff)
downloadlinux-810b2be65610af13d60f1e16c0a0f93cbc1f9d06.tar.xz
linux-810b2be65610af13d60f1e16c0a0f93cbc1f9d06.zip
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/streamline_config.pl')
-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",