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>
This commit is contained in:
Steven Rostedt 2009-04-30 19:30:04 -04:00 committed by Steven Rostedt
parent d08ca2771e
commit 810b2be656

View file

@ -53,6 +53,10 @@ my @searchconfigs = (
"file" => "/proc/config.gz",
"exec" => "zcat",
},
{
"file" => "/boot/config-$uname",
"exec" => "cat",
},
{
"file" => "/boot/vmlinuz-$uname",
"exec" => "scripts/extract-ikconfig",