kconfig: simplification of scripts/extract-ikconfig
Dick Streefland authored
I've rewritten the extract-ikconfig script to extract the kernel
configuration from a kernel compiled with CONFIG_IKCONFIG. The main
motivation for the rewrite was to remove the dependency on the
external C program binoffset.c, which is compiled on the initial run.

The binoffset executable is invoked with a relative path, which means
that the old script can only be run from the top of the kernel tree,
and only when you have write permission in the scripts directory.

The new script uses tr/grep/tail/zcat only, and can be invoked from
anywhere. The binoffset.c program has been removed. This script
requires GNU grep 2.5 (released 2002-03-13) or higher, because the -o
option was introduced in that version.
Signed-off-by: default avatarDick Streefland <dick@streefland.net>
LKML-Reference: <20091006203540.GA14634@streefland.net>
Tested-by: default avatarSteven Rostedt <rostedt@goodmis.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
7b76bfc8
Name Last commit Last update
..
basic Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-next
dtc powerpc: Have git ignore generated files from dtc compile
genksyms Documentation/: fix warnings from -Wmissing-prototypes in HOSTCFLAGS
kconfig kbuild: add static to prototypes
ksymoops Linux-2.6.12-rc2
mod spi: prefix modalias with "spi:"
package kbuild, deb-pkg: fix install scripts for posix sh
rt-tester [PATCH] rtmutex: Modify rtmutex-tester to test the setscheduler propagation
selinux Fix all -Wmissing-prototypes warnings in x86 defconfig
tracing tracing, perf: Convert the power tracer into an event tracer
.gitignore kconfig: simplification of scripts/extract-ikconfig
Kbuild.include kbuild: fix cc1 options check to ensure we do not use -fPIC when compiling
Lindent scripts/Lindent: support gnu indent v2.2.10
Makefile sparc: Kill PROM console driver.
Makefile.build kbuild: Don't define ALIGN and ENTRY when preprocessing linker scripts.
Makefile.clean kbuild: fix some minor typoes
Makefile.fwinst firmware: silence __fw_modbuild and __fw_modinst 'Nothing to be done' messages
Makefile.headersinst kbuild: fix "Argument list too long" error for "make headers_check",
Makefile.host kbuild: fix some minor typoes
Makefile.lib gcov: add gcov profiling infrastructure
Makefile.modinst Revert "kbuild: strip generated symbols from *.ko"
Makefile.modpost tracing: Remove markers
bin2c.c Linux-2.6.12-rc2
bloat-o-meter fix bloat-o-meter for ppc64
bootgraph.pl bootgraph: fix for use with dot symbols
checkincludes.pl
checkkconfigsymbols.sh
checkpatch.pl
checkstack.pl
checksyscalls.sh
checkversion.pl
cleanfile
cleanpatch
config
conmakehash.c
decodecode
diffconfig
export_report.pl
extract-ikconfig
gcc-version.sh
gcc-x86_32-has-stack-protector.sh
gcc-x86_64-has-stack-protector.sh
gen_initramfs_list.sh
get_maintainer.pl
gfp-translate
headerdep.pl
headers.sh
headers_check.pl
headers_install.pl
kallsyms.c
kernel-doc
makelst
markup_oops.pl
mkcompile_h
mkmakefile
mksysmap
mkuboot.sh
mkversion
module-common.lds
namespace.pl
patch-kernel
pnmtologo.c
profile2linkerlist.pl
recordmcount.pl
setlocalversion
show_delta
tags.sh
unifdef.c
ver_linux