Re: Guidance about minimal configurations for kernel compilation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Jun 07, 2015 at 09:45:07PM +0530, Mayur Patil wrote:
> Hi All,
> 
>     I am struggling to build small size with minimum time for kernel 
> compilation with vanilla kernels of  kernel.org. 
> As mentioned in the makehelp, I have used defconfig but unable to get 
> desirable results. I have followed linuxscratch with which make 
> defconfig is taking about 20 to 30 minutes of time only for 
> compilation and result of that compilation the kernel  is also unable to 
> boot.  Please guide which configurations should I use to get my 
> kernel build fast and of minimum size.
> This is my .config file:  http://fpaste.org/229718/

Start with a working .config file from a distribution that you know
works.  Boot that kernel, plug in all of the devices you want to
support, and then run 'make localmodconfig' and take that config and use
it.  It should build _much_ faster.

good luck,

greg k-h

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies





[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux