coreboot-kgpe-d16/util/scripts
Paul Menzel 43fc1aee4d kconfig: add script to manipulate .config files on the command line
Copy the script `scripts/config` from Linux (commit 427fbe89 (Merge
branch 'next' of
git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux)) into the
newly created directory `scripts`. Here is the original commit message
from 2009.

> commit 8e54701ea85b0ab0971637825a628f5aa2b678a4
> Author: Andi Kleen <andi@firstfloor.org>
> Date:   Sat Jan 3 03:21:41 2009 +0100
>
> 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>

Change-Id: Ie32a4459398df8694956dd644f38692017a26388
Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de>
Reviewed-on: https://review.coreboot.org/26243
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2018-06-12 07:43:15 +00:00
..
config kconfig: add script to manipulate .config files on the command line 2018-06-12 07:43:15 +00:00
cross-repo-cherrypick util/scripts/cross-repo-cherrypick: improve cros-side rewrite 2017-09-15 20:57:57 +00:00
dts-to-fmd.sh util/scripts: add copyright notices 2016-10-25 17:10:14 +02:00
find-unused-kconfig-symbols.sh
gerrit-rebase util/scripts/gerrit-rebase: allow skipping old history 2017-06-19 18:44:13 +02:00
get_maintainer.pl util/scripts/get_maintainer.pl: Remove linux tree check 2017-03-07 15:03:45 +01:00
maintainers.go
no-fsf-addresses.sh util/scripts/no-fsf-addresses.sh: Strip last paragraph 2015-10-31 21:38:15 +01:00
parse-maintainers.pl util/scripts: Add script to alphabetize MAINTAINERS file 2018-04-16 22:25:31 +00:00
ucode_h_to_bin.sh util/scripts: Support cygwin in ucode conversion tool 2016-08-22 04:19:24 +02:00
update_submodules util: Make TZ environment variable POSIX compatible 2017-10-14 11:28:14 +00:00