kernel: 6.6.y for x280
[KernelConfig.git] / README.md
blob2322b35de6aeae00da5c33db2d61ec649b525004
1 #### Devices
3   - Thinkpad X230
4   - Thinkpad X280
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
19     make savedefconfig
21 Restore from basic config file
23     cd /usr/src/linux/
24     cp /path/your_defconfig .config
25     make olddefconfig
29     cd /usr/src/linux/
30     cp /path/your_defconfig arch/your-srcarch/configs/your_new_defconfig
31     make your_new_defconfig
33 Build binary
35     make -j`nproc` && make modules_install
37 Read more: <https://wiki.gentoo.org/wiki/Kernel/Configuration>