Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v3 0/3] toolchain: Add support for Sourcery Codebench Standard
@ 2014-11-13 23:03 Romain Naour
  2014-11-13 23:03 ` [Buildroot] [PATCH v3 1/3] toolchain-external: Detect empty or invalid sysroot Romain Naour
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Romain Naour @ 2014-11-13 23:03 UTC (permalink / raw)
  To: buildroot

The purpose of this series is to provide support for Sourcery Codebench
Standard (licenced) edition in Buildroot.

Since these toolchain can't be downloaded, we need to use the custom toolchain
backend to import them into Buildroot.

In Toolchain menu, select:
  Toolchain type (External toolchain)
  Toolchain (Custom toolchain)
  Toolchain origin (Pre-installed toolchain)

Then set all toolchain settings (kernel headers, libc, rpc, c++ etc...)

I'm using the Sourcery Codebench 2014.05 for IA32 GNU/Linux, here is the
settings:

(i686-pc-linux-gnu) Toolchain prefix
  External toolchain kernel headers series (3.13.x)
  External toolchain C library (glibc/eglibc)
[*] Toolchain has RPC support
[*] Toolchain has C++ support?
(-pipe -msgxx-glibc) Target Optimizations

The "-msgxx-glibc" flag in "Target Optimizations" is mandatory otherwise the
toolchain won't work.

Thanks to Yann E. Morin and Thomas Petazzoni for the help and review on this topic.

v3: Rework the end of string detection (Yann E. Morin)
    Handle a second argument in toolchain_print_sysroot
    Detect if the main sysroot is the same as arch sysroot,
    then return the main_sysroot

v2: Rework entirely this serie to take into account comments received on v1.
http://lists.busybox.net/pipermail/buildroot/2014-October/108641.html

Romain Naour (3):
  toolchain-external: Detect empty or invalid sysroot
  toolchain-helpers: factorise the arch sysroot symlink creation
  toolchain-external: calculation of the symlink to the arch sysroot

 toolchain/helpers.mk                               | 70 +++++++++++++++++++---
 toolchain/toolchain-external/toolchain-external.mk | 28 ++++++---
 2 files changed, 82 insertions(+), 16 deletions(-)

-- 
1.9.3

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

end of thread, other threads:[~2014-11-29 12:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-13 23:03 [Buildroot] [PATCH v3 0/3] toolchain: Add support for Sourcery Codebench Standard Romain Naour
2014-11-13 23:03 ` [Buildroot] [PATCH v3 1/3] toolchain-external: Detect empty or invalid sysroot Romain Naour
2014-11-27 23:06   ` Yann E. MORIN
2014-11-28 21:41     ` Romain Naour
2014-11-13 23:03 ` [Buildroot] [PATCH v3 2/3] toolchain-helpers: factorise the arch sysroot symlink creation Romain Naour
2014-11-27 23:21   ` Yann E. MORIN
2014-11-28 21:45     ` Romain Naour
2014-11-13 23:03 ` [Buildroot] [PATCH v3 3/3] toolchain-external: calculation of the symlink to the arch sysroot Romain Naour
2014-11-29 12:49   ` Romain Naour

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