I’m developing kernel modules right now, and the build times are starting to get under my skin. As a side effect i’m taking way too many “coffee” breaks during builds.
So i was looking for a way to build only the stuffs i need for my platform. Chapter 7 and 8 of “linux kernel in a nutshell” gave a good detail of how to do that by hand. Its a good read :
But Although i understand the stuffs, this is still a lot of tweaks to make that work.
2.6.32 and later kernels added a new target “make localmodconfig”. which scans through “lsmod” and change the .config appropriately. So i thought i found my “automation”. But this perl script has some problem too.
This thread describes the problems :