Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 0/2] Add crosstool-NG toolchain backend
@ 2010-09-19 19:54 Yann E. MORIN
  2010-09-19 19:54 ` [Buildroot] [PATCH 1/2] host tools: create the host sed in $(O)/host/ Yann E. MORIN
  2010-09-19 19:54 ` [Buildroot] [PATCH 2/2] toolchain: add new toolchain backend: crosstool-NG Yann E. MORIN
  0 siblings, 2 replies; 7+ messages in thread
From: Yann E. MORIN @ 2010-09-19 19:54 UTC (permalink / raw)
  To: buildroot

Hello All!

This series adds support to use crosstool-NG as a backend to generate
the toolchain used by buildroot.

  [PATCH 1/2] host tools: create the host sed in $(O)/host/
  [PATCH 2/2] toolchain: add new toolchain backend: crosstool-NG

Changes since v0 (last status report):
- use lower-case in new file names (Thomas on IRC)
- do not rebuild the toolchain if related options did not changed

The first patch fixes the location of the host sed, so it does not get
removed by crosstool-NG when building the toolchain. This is needed
because crostool-NG wipes-out the toolchain installation directory before
building the toolchain. In the end, the host-sed will probably entirely
go away, but this is not the subject of the series, and can come later.

The second patch adds the crosstool-NG backend proper.  The idea idea to
treat the toolchain as if it was an external toolchain, except that it
is not pre-built.

I've tried to split the second patch into smaller chunks, but I was not
sure it would make sense to do so, as it is a self-contained change.
It is a huge hunk, but the core of it is located in a single hunk, that
adds the toolchain build.

Although the implementation is fully functional, some work remains that
is not really essential to building the toolchain. Most notably, sanity
checks are not yet performed on the configuration, and some target-related
options are not yet passed down from the buildroot configuration to the
corresponding crosstool-NG options.

As has been looked over in the previous status report, here is the
left-over work that remains to be done:

- use latest stable release of crostool-NG: 1.8.1
- switch to generic package infrastructure, if possible
- push more options down to crosstool-NG
- sanity-check the toolchain configuration
- warn the user when he/she made changes in crosstool-NG's config
  that confilct with options from buildroot
- stress-test...

Thanks for your attention! I am open for any comment on this series. :-)

Regards,
Yann E. MORIN.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-10-01 14:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-19 19:54 [Buildroot] [PATCH 0/2] Add crosstool-NG toolchain backend Yann E. MORIN
2010-09-19 19:54 ` [Buildroot] [PATCH 1/2] host tools: create the host sed in $(O)/host/ Yann E. MORIN
2010-09-30 21:12   ` Peter Korsgaard
2010-09-30 21:20     ` Yann E. MORIN
2010-09-19 19:54 ` [Buildroot] [PATCH 2/2] toolchain: add new toolchain backend: crosstool-NG Yann E. MORIN
2010-09-28 16:25   ` Yann E. MORIN
2010-10-01 14:44   ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox