What is the fastest way to build and boot a kernel

Code Soldier1 codesoldier1 at gmail.com
Tue Apr 18 13:38:52 EDT 2017


Hi Greg,

No I did not know about 'make localmodconfig'. Can you kindly explain.
As far as the change is concerned I am planning to change a few things
and experiment, so there is nothing specific.

Thanks,

On Tue, Apr 18, 2017 at 9:07 AM, Greg KH <greg at kroah.com> wrote:
> 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



-- 
CS1



More information about the Kernelnewbies mailing list