Kernel Compilation

Matt Graham danceswithcrows at usa.net
Sat Mar 15 12:27:38 MST 2008


After a long battle with technology, Matt Graham wrote:
> After a long battle with technology, Nathan wrote:
> > Is there a specific command to run that automatically selects EVERYTHING
> > in the kernel to be compiled as a module then creates a .config file or
> > anything similar?
> I don't know why you'd want to build *everything* as a module, actually. 
> That takes a long time, and you have to build an initrd (yuck) which is not
> useful unless you don't know what hardware you're going to be running your
> kernel on.  You could probably hack the scripts that oldconfig runs so that
> they'd default to "M" instead of Y or N, but there are a few things that
> can't be build as modules.  What then?

To answer my own question, "make allmodconfig" might do what you want.  I'd 
want to sanity-check the result with menuconfig before building it though.

-- 
   Seemingly ordinary humans transform into rage-fueled sarcasm
   dispensers.  I love it!  --Patrick Shaughnessy
  My blog and resume: http://crow202.dyndns.org:8080/wordpress/
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see


More information about the PLUG-discuss mailing list