I'm struggling with kernel compilation. Currently I'm using
Code: Select all
Linux gentoo 5.14.7-gentoo-distHowever, I want to compile my own kernel. What I'm doing?
First, I'm selecting second kernel
Code: Select all
eselect kernel set 1
Code: Select all
cp /usr/src/linux-5.14.7-gentoo-dist/.config /usr/src/linuxCode: Select all
make oldconfig
make localmodconfig
Code: Select all
genkernel --oldconfig --clean --microcode=amd all
Code: Select all
grub-mkconfig -o /boot/grub/grub.cfg
When I switch back to *-dist kernel, touchpad is working. What I'm doing wrong? From what I understand, after copying previous .config file, kernel should compile with same options. I'm using localmodconfig to clean it a little bit but I tried without this command and result was the same :/
Any advice? Thanks
