5 - utm.app on m1 MacBook Pro
7 #### Compressed kernel modules
9 Please note, kernel configuration files here used to contain compression of kernel and modules, so you should emerge `sys-apps/kmod` with below USE flags before compiling your kernel and modules
11 file: /etc/portage/package.use
13 sys-apps/kmod lzma zlib zstd
15 #### Kernel Configuration
17 Generate basic config file
21 Restore from basic config file
24 cp /path/your_defconfig .config
30 cp /path/your_defconfig arch/your-srcarch/configs/your_new_defconfig
31 make your_new_defconfig
35 make -j`nproc` && make modules_install
37 Read more: <https://wiki.gentoo.org/wiki/Kernel/Configuration>