Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Grant Edwards <grant.b.edwards@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] How to rebuild following .config change?
Date: Thu, 25 Jun 2009 19:02:14 +0000 (UTC)	[thread overview]
Message-ID: <h20hjm$j7a$1@ger.gmane.org> (raw)
In-Reply-To: 20090624091353.38df494a@surf

On 2009-06-24, Thomas Petazzoni <thomas.petazzoni@free-electrons.com> wrote:
> Le Tue, 23 Jun 2009 20:05:06 +0000 (UTC),
> Grant Edwards <grant.b.edwards@gmail.com> a ??crit :
>
>> You can do a "distclean", but then all the sources get
>> re-downloaded and toolchains re-built -- which takes a _long_
>> time.
>
> It's true that Buildroot doesn't handle partial rebuilds very well.
> This is something we should improve.

Unfortunately, it's a very difficult problem -- especially for
something built up of several sort-of-independant subsystems.
It's pretty hard to automatically detect what depends on what
with 100% accuracy.

> In the mean time, here is how I use Buildroot :
>
>  * Set the BUILDROOT_DL_DIR environment variable, so that downloads are
>    made to a completely separate directory from the Buildroot source
>    and Buildroot build directories ;
>
>  * Use an external toolchain (such as one generated by Crosstool-NG,
>    for example). This way, the toolchain generation process is
>    independent from Buildroot, and you don't need to re-generate the
>    toolchain everytime you want to recompile the root filesystem from
>    scratch ;
>
>  * Use out-of-tree generation in Buildroot with "make
>    O=/path/to/somewhere". This way, all generated files are in a
>    separate directory, which makes it easy to clean everything.

Thanks, those are indeed valuable tips.

-- 
Grant Edwards                   grante             Yow! I am having FUN...
                                  at               I wonder if it's NET FUN or
                               visi.com            GROSS FUN?

      reply	other threads:[~2009-06-25 19:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-23 20:05 [Buildroot] How to rebuild following .config change? Grant Edwards
2009-06-23 20:14 ` Bernhard Reutner-Fischer
2009-06-24  7:13 ` Thomas Petazzoni
2009-06-25 19:02   ` Grant Edwards [this message]

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='h20hjm$j7a$1@ger.gmane.org' \
    --to=grant.b.edwards@gmail.com \
    --cc=buildroot@busybox.net \
    /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