kconfig: have extract-ikconfig read ELF files
authorSteven Rostedt <srostedt@redhat.com>
Thu, 30 Apr 2009 16:22:20 +0000 (12:22 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 19 Aug 2009 02:00:18 +0000 (22:00 -0400)
commit6be51ffc1791b72d11cef9bb0a578fe8c5d64c6a
tree65076b5e6ebe9abc5574d8d45cc8b9e965c7b8c7
parentfd3132d5815bf72aeec7d5ad87161b4831f8e48c
kconfig: have extract-ikconfig read ELF files

It would be nice to use extract-ikconfig to find the congfig.gz
in either vmlinux (not vmlinuz) or configs.ko.

This patch changes the script to also be able to read ELF files directly.

[ Impact: find config.gz in vmlinux and configs.ko ]

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
scripts/extract-ikconfig