util/kconfig: Fix README.md formatting

Change-Id: I0c47a603cc6e6174cd4895ff9f44b5bc242c653e
Signed-off-by: Richard Marko <srk@48.io>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/78441
Reviewed-by: Martin L Roth <gaumless@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Richard Marko 2023-10-18 19:57:15 +02:00 committed by Felix Held
parent 6bb4603ed6
commit 3743811894
1 changed files with 8 additions and 3 deletions

View File

@ -13,7 +13,9 @@ 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
```sh
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)
@ -23,9 +25,11 @@ 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,
available in `~/linux`
$ cd util/kconfig && (cd ~/linux/ && git diff v5.13..v5.14 scripts/kconfig) | patch -p2`
```sh
cd util/kconfig && (cd ~/linux/ && git diff v5.13..v5.14 scripts/kconfig) | patch -p2`
```
applies the changes to your local tree.
@ -39,6 +43,7 @@ write a meaningful commit message that documents what Linux kconfig version
the tree has been upreved to.
## Adding a new patch
The format of the patches to kconfig is a mix of the headers produced by `git
format-patch` and the patch format of quilt. However neither git nor quilt
seems to have any functionality to directly produce a file in such a format