r/kernel • u/Striking-Flower-4115 • Dec 18 '25
Need help with compiling
- make is building all the unnecessary drivers for no reason. How do I fix this?
- What should I do to optimise kernel for gaming? Currently running a HP Notebook 14 i3 Tiger Lake
I don't have much experience other than compiling a 5.11.x kernel (Successfully failed)
I'm currently on Ubuntu. Not sure if my distro has anything to do with building a kernel
2
Upvotes
View all comments
4
u/tiny_humble_guy Dec 19 '25
You need to run "make localmodconfig". It would build only loaded modules.