Trying to find all the kernel modules needed for my machine using shell script

Mulyadi Santosa mulyadi.santosa at gmail.com
Fri Jul 13 08:42:02 EDT 2012


Hi :)

On Fri, Jul 13, 2012 at 7:29 PM, Aft nix <aftnix at gmail.com> wrote:
> Hi,
>
> 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 :
> http://www.kroah.com/lkn/

IMHO, first you need to experiment to get the best config. Like you
have found, make localmodconfig (is it?) will help.

Afterward, maybe what you need is compilation speed up? If so, have
you tried ccache?

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com



More information about the Kernelnewbies mailing list