Like title say, how I can use only the necessary modules? I mean, I know what modules/drivers is running Linux using lsmod, lspci -k right? but exist a way when I recompile a linux, tell some how to use only the modules I use right now? and cut the process to select manually?
By the way I am new on recompiling kernel, just use the generic kernel in Slackware, and some little tweaks but that's it
So this is how I "do", when I do makeconfig, I just select manually the drivers and stuff, then save the .config.
But when I need to do the same thing again and again is frustrating...
What is the good way to do this? (maybe a tutorial?) because I have differents hardware (servers) and some of the server never change. I only want recompile only with the modules used right now.
I use Slackware if it makes a difference...
Thanks in advance,