This project is a set of scripts to use to create a minimal kernel development environment.
cd <kernel source dir>
make allnoconfig
scripts/kconfig/merge_config.sh -m .config <kernel-dev-arch-env dir>/kernel-dev.config
make kvmconfig
make -j $(nproc)
su
mkosi
chown $USER: mkosi.output/image.raw
./boot -k <kernel source dir>/arch/x86_64/boot/bzImage