You can manually configure Linux kernel before compiling it. I even have measured time of compiling kernel with default config (I don't remember if this config is from upstream or some distro) and configured by hand for my laptop.
First option compiled in 4033 seconds, second 337 seconds.
Of course maybe there still be some hooks in various places for drivers etc, which will be compiled in.
|