From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] toolchain/crosstool-NG: do not depend on the top-level Buildroot's .config
Date: Thu, 9 May 2013 10:58:31 +0200 [thread overview]
Message-ID: <20130509105831.1340edef@skate> (raw)
In-Reply-To: <8003334.zUx8i8rUNE@sagittae>
Dear J?r?me Pouiller,
On Thu, 09 May 2013 00:32:43 +0200, J?r?me Pouiller wrote:
> > So, just drop the not-so-clever heuristic, and just build the toolchain
> > once, leaving to the user the responsibility to explictly ask Buildroot
> > to rebuild the toolchain.
> Hmmm... I didn't followed all debate, and I am sorry if this suggestion has
> already been submitted but, why not depend on
> build/buildroot-config/br2/toolchain/ctng* ?
There's a choice:
1) Either we do detect changes in the configuration and automatically
rebuild what needs to be rebuild. But if we decide to do that, we
must do it *perfectly*. If we tell users "you can make changes in
your configuration, run 'make' and it will automatically rebuild
what's necessary", it should work perfectly, and not have some
bizarre cases where it doesn't rebuild what's needed.
2) Or we don't even try to detect changes, even in simple cases. This
keeps Buildroot simple and we have a simple thing to explain to our
users: "Buildroot doesn't try to detect which configuration changes
you made, it's up to you to rebuild what's necessary, or restart a
full build".
Until now, all the Buildroot developers agreed that (2) was the way to
go. (1) is complicated to achieve correctly, and would add a
significant complexity to Buildroot, which is something we absolutely
want to avoid.
Best regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
next prev parent reply other threads:[~2013-05-09 8:58 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-18 22:03 [Buildroot] [PATCH] toolchain/crosstool-NG: do not depend on the top-level Buildroot's .config Yann E. MORIN
2013-03-18 22:17 ` Peter Korsgaard
2013-05-08 22:32 ` Jérôme Pouiller
2013-05-09 8:58 ` Thomas Petazzoni [this message]
-- strict thread matches above, loose matches on Subject: below --
2013-03-14 18:44 Yann E. MORIN
2013-03-15 0:08 ` Przemyslaw Wrzos
2013-03-15 17:52 ` Yann E. MORIN
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=20130509105831.1340edef@skate \
--to=thomas.petazzoni@free-electrons.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