coreboot-kgpe-d16/util/kconfig
Elyes Haouas 3541c31add util/kconfig/regex.c: Remove leftover
coreboot doesn't support the MIPS architecture anymore.

Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Change-Id: I404d034949a7786d7971117081537baf27ff2e22
Reviewed-on: https://review.coreboot.org/c/coreboot/+/67353
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin L Roth <gaumless@gmail.com>
2022-09-16 14:52:44 +00:00
..
lxdialog
patches util/kconfig: Rewrite patch in quilt's normal form 2021-11-02 06:40:41 +00:00
.gitignore
Makefile
Makefile.inc
README.md
conf.c util/kconfig: Uprev to Linux 5.14's kconfig 2021-11-02 08:10:41 +00:00
confdata.c
description.md
expr.c util/kconfig: Uprev to Linux 5.13's kconfig 2021-07-13 20:28:14 +00:00
expr.h
gconf-cfg.sh
gconf.c util/kconfig: Uprev to Linux 5.13's kconfig 2021-07-13 20:28:14 +00:00
gconf.glade
images.c util/kconfig: Uprev to Linux 5.13's kconfig 2021-07-13 20:28:14 +00:00
images.h
internal.h
lexer.l util/kconfig: Uprev to Linux 5.13's kconfig 2021-07-13 20:28:14 +00:00
lexer.lex.c_shipped
list.h
lkc.h
lkc_proto.h
mconf-cfg.sh
mconf.c
menu.c util/kconfig: Uprev to Linux 5.13's kconfig 2021-07-13 20:28:14 +00:00
merge_config.sh
nconf-cfg.sh
nconf.c
nconf.gui.c
nconf.h
parser.tab.c_shipped util/kconfig: Add pre-built parser 2021-09-13 15:35:03 +00:00
parser.tab.h_shipped util/kconfig: Add pre-built parser 2021-09-13 15:35:03 +00:00
parser.y
preprocess.c util/kconfig: Uprev to Linux 5.13's kconfig 2021-07-13 20:28:14 +00:00
qconf-cfg.sh
qconf.cc
qconf.h util/kconfig: Uprev to Linux 5.13's kconfig 2021-07-13 20:28:14 +00:00
regex.c
regex.h Remove non-ascii & unprintable characters 2016-08-01 21:44:45 +02:00
streamline_config.pl
symbol.c
toada.c
util.c

README.md

coreboot kconfig

This is coreboot's copy of kconfig which tracks Linux as upstream but comes with a few patches for portability but also a few semantic changes.

The patches that lead to this tree can be found in the patches/ subdirectory in a quilt friendly format that is also simple enough to manage manually with Unix tooling.

Updating kconfig

The first step is to unapply the patches. This can either be done with quilt in an already-configured tree (quilt pop -a should cleanly unapply them all) or manually if quilt doesn't have its tracking metadata around yet:

$ for i in `ls patches/*.patch | tac`; do patch -p1 -R -i "$i"; done

The result should be a subtree that, apart from a few coreboot specific files on our side (e.g. documentation, integration in our build system) and a few files on the upstream end that we don't carry (e.g. the tests), is identical to the scripts/kconfig/ directory of Linux as of the most recent uprev we did. Check the uprev version by looking through git log util/kconfig output in our tree.

Assuming that you want to uprev from Linux 5.13 to 5.14, with a Linux git tree available in ~/linux,

$ cd util/kconfig && (cd ~/linux/ && git diff v5.13..v5.14 scripts/kconfig) | patch -p2`

applies the changes to your local tree.

Then reapply our patch train, which might be as simple as quilt push -a --refresh but might also require some meddling with the patches to make them apply again with the changes you just imported from Linux.

Check that kconfig still works, git add and git commit the changes and write a meaningful commit message that documents what Linux kconfig version the tree has been upreved to.