kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: greg@kroah.com (Greg KH)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Guidance about minimal configurations for kernel compilation
Date: Sun, 7 Jun 2015 09:47:31 -0700	[thread overview]
Message-ID: <20150607164731.GA26176@kroah.com> (raw)
In-Reply-To: <CAGYCq6hWVoZ02Q4sFptA99yS5iv7AKGwx3wo=hnM062YthJGSQ@mail.gmail.com>

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

  reply	other threads:[~2015-06-07 16:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-07 16:15 Guidance about minimal configurations for kernel compilation Mayur Patil
2015-06-07 16:47 ` Greg KH [this message]
2015-06-07 17:04   ` Mayur Patil

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150607164731.GA26176@kroah.com \
    --to=greg@kroah.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).