Page 1 of 1

Compile kernel without unneeded kernel_modules

PostPosted: August 1st, 2018, 8:21 pm
by selono
Hello.
I compiled a new kernel and in folder lib/modules the it size is very big. So I compiled it with a bunch of unneeded modules. How do I compile it again without unneeded modules ? Where I can uncheck the unneeded modules? Is there a command that will automatic find all modules that I need and uncheck that I don't need ?