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) | |
download | op-kernel-dev-810b2be65610af13d60f1e16c0a0f93cbc1f9d06.zip op-kernel-dev-810b2be65610af13d60f1e16c0a0f93cbc1f9d06.tar.gz |
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 69b7c3f..46ca62d 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", |