mkosi: Rework kconfig handling
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 2 Dec 2022 19:34:38 +0000 (20:34 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 5 Dec 2022 09:51:22 +0000 (10:51 +0100)
commit37b56a79dcc4fab8470134ea3cfa16c9366ba15e
tree1e49cbbfc7d8e8e823d385491df198ead54143d2
parentf6484e850324cd0d4b62f884ffd540c52e27973c
mkosi: Rework kconfig handling

Instead of relying on the arch specific kconfigs that enable all
kinds of options that are irrelevant for our use case, let's beef
up our own config a little so that we don't need to rely on the
arch specific configs anymore.

Also, instead of using scripts/config to enable options in the
mkosi build script, let's add a new kernel.config file that includes
all the configs we want enabled/disabled.

Finally, let's make sure we can properly run the bpf selftests by
making sure we enable all the right configs required to run the bpf
selftests successfully. We use the scripts/kconfig/merge_config.sh
script to merge the three different config files together.
mkosi.build
mkosi.kernel.config [new file with mode: 0644]