[Buildroot] RFC: toolchain wrapper for external toolchains

Peter Korsgaard jacmet at sunsite.dk
Tue May 3 14:40:53 UTC 2011


This patch series adds a toolchain wrapper for external toolchains as
discussed during the Buildroot dev day after FOSDEM.

This brings two advantages:
 - External toolchains are easier to use outside of Buildroot as no
   special compiler arguments have to be used. They behave just
   like the internal toolchain.
 - The code to ensure --sysroot was used everywhere (and the workarounds
   for packages like Qt and cmake) can be removed.

It has so far been tested with Codesourcery toolchains and a number of
package combinations.

 Makefile                                           |   12 +--
 package/Makefile.in                                |   53 ++-----------
 package/qt/qt.mk                                   |    8 +-
 toolchain/toolchain-external/ext-tool.mk           |   88 ++++++++++++++++++--
 .../toolchain-external/ext-toolchain-wrapper.c     |   75 +++++++++++++++++
 5 files changed, 171 insertions(+), 65 deletions(-)


--
Bye, Peter Korsgaard


More information about the buildroot mailing list