linux/scripts
Andi Kleen 8e54701ea8 kconfig: add script to manipulate .config files on the command line
I often change single options in .config files. Instead of using
an editor or one of the frontends it's convenient to do this from
the command line. It's also useful to do from automated build scripts
when building different variants from a base config file.

I extracted most of the CONFIG manipulation code from one of my
build scripts into a new shell script scripts/config

The script is not integrated with the normal Kconfig machinery
and doesn't do any checking against Kconfig files, but just manipulates
that text format. This is always done at make time anyways.

I believe this script would be a useful standard addition for scripts/*

Sample usage:

./scripts/config --disable smp
Disable SMP in .config file

./scripts/config --file otherdir/.config --module e1000e
Enable E1000E as module in otherdir/.config

./scripts/config --state smp
y
Check state of config option CONFIG_SMP

After merging into git please make scripts/config executable

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
2009-01-07 21:44:22 +01:00
..
basic
genksyms
kconfig kconfig: improve error messages for bad source statements 2009-01-02 20:43:22 +01:00
ksymoops
mod
package
rt-tester
selinux
trace
tracing
.gitignore fix modules_install via NFS 2009-01-07 21:44:20 +01:00
bin2c.c
binoffset.c
bloat-o-meter
bootgraph.pl bootchart: improve output based on Dave Jones' feedback 2009-01-07 21:44:21 +01:00
checkincludes.pl
checkkconfigsymbols.sh
checkpatch.pl checkpatch: version: 0.26 2009-01-06 15:59:17 -08:00
checkstack.pl
checksyscalls.sh
checkversion.pl
cleanfile
cleanpatch
config kconfig: add script to manipulate .config files on the command line 2009-01-07 21:44:22 +01:00
conmakehash.c
decodecode
diffconfig
export_report.pl
extract-ikconfig
gcc-version.sh
gcc-x86_64-has-stack-protector.sh
gen_initramfs_list.sh
headerdep.pl
headers_check.pl kbuild: ignore a few files in headers_check 2009-01-02 20:43:27 +01:00
headers_install.pl kbuild: in headers_install autoconvert asm/inline/volatile to __xxx__ 2009-01-02 20:43:24 +01:00
headers.sh
ihex2fw.c fix modules_install via NFS 2009-01-07 21:44:20 +01:00
kallsyms.c
Kbuild.include
kernel-doc
Lindent
Makefile fix modules_install via NFS 2009-01-07 21:44:20 +01:00
Makefile.build
Makefile.clean
Makefile.fwinst
Makefile.headersinst
Makefile.host
Makefile.lib
Makefile.modinst
Makefile.modpost
makelst
markup_oops.pl scripts: script from kerneloops.org to pretty print oops dumps 2009-01-06 15:59:12 -08:00
mkcompile_h
mkmakefile
mksysmap
mkuboot.sh
mkversion
namespace.pl
patch-kernel
pnmtologo.c
profile2linkerlist.pl
recordmcount.pl
setlocalversion
show_delta
strip-symbols
tags.sh kbuild: reintroduce ALLSOURCE_ARCHS support for tags/cscope 2009-01-07 21:44:21 +01:00
unifdef.c
ver_linux