What is the fastest way to build and boot a kernel

Greg KH greg at kroah.com
Tue Apr 18 12:07:11 EDT 2017


On Tue, Apr 18, 2017 at 08:59:36AM -0700, Code Soldier1 wrote:
> Hi,
> 
> Can someone suggest what is the fastest way to build a minimal kernel
> and boot. For example if I am working on TCP and would like to make a
> small change and reboot, what is the fastest way, I rather not build
> the whole kernel.

Why would you need to rebuild the whole kernel?  What did you change
that required everything to be rebuilt?

And a working kernel can normally be built, from scratch, in just a few
minutes.  You do know about 'make localmodconfig' right?

thanks,

greg k-h



More information about the Kernelnewbies mailing list