aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/streamline_config.pl
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/streamline_config.pl
parentkconfig: unset IKCONFIG_PROC and clean up nesting (diff)
downloadlinux-dev-810b2be65610af13d60f1e16c0a0f93cbc1f9d06.tar.xz
linux-dev-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",