* Guidance about minimal configurations for kernel compilation
@ 2015-06-07 16:15 Mayur Patil
2015-06-07 16:47 ` Greg KH
0 siblings, 1 reply; 3+ messages in thread
From: Mayur Patil @ 2015-06-07 16:15 UTC (permalink / raw)
To: kernelnewbies
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
<http://www.linuxfromscratch.org/lfs/view/development/chapter08/kernel.html>
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/
Seeking for guidance,
Thanks !!
*-- *
*Regards,Mayur S Patil,A research oriented program learner,Pune, India.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20150607/6d18f752/attachment.html
^ permalink raw reply [flat|nested] 3+ messages in thread
* Guidance about minimal configurations for kernel compilation
2015-06-07 16:15 Guidance about minimal configurations for kernel compilation Mayur Patil
@ 2015-06-07 16:47 ` Greg KH
2015-06-07 17:04 ` Mayur Patil
0 siblings, 1 reply; 3+ messages in thread
From: Greg KH @ 2015-06-07 16:47 UTC (permalink / raw)
To: kernelnewbies
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Guidance about minimal configurations for kernel compilation
2015-06-07 16:47 ` Greg KH
@ 2015-06-07 17:04 ` Mayur Patil
0 siblings, 0 replies; 3+ messages in thread
From: Mayur Patil @ 2015-06-07 17:04 UTC (permalink / raw)
To: kernelnewbies
Thanks Greg for advice I will try to follow it and will convey the results.
*-- *
*Regards,Mayur S Patil,A research oriented program learner,Pune, India.*
On Sun, Jun 7, 2015 at 10:17 PM, Greg KH <greg@kroah.com> wrote:
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20150607/ca0328be/attachment.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-06-07 17:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-07 16:15 Guidance about minimal configurations for kernel compilation Mayur Patil
2015-06-07 16:47 ` Greg KH
2015-06-07 17:04 ` Mayur Patil
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).