Skip to content

manual kernel configuration for Gentoo, on the Lenovo ThinkPad (X230, X280)

License

Notifications You must be signed in to change notification settings

vgist/KernelConfig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Devices

  • Thinkpad X230
  • Thinkpad X280
  • utm.app on m1 MacBook Pro

Compressed kernel modules

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

file: /etc/portage/package.use

sys-apps/kmod lzma zlib zstd

Kernel Configuration

Generate basic config file

make savedefconfig

Restore from basic config file

cd /usr/src/linux/
cp /path/your_defconfig .config
make olddefconfig

or

cd /usr/src/linux/
cp /path/your_defconfig arch/your-srcarch/configs/your_new_defconfig
make your_new_defconfig

Build binary

make -j`nproc` && make modules_install

Read more: https://wiki.gentoo.org/wiki/Kernel/Configuration

Releases

No releases published

Packages

No packages published

Languages