Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 0/3] toolchain: Add support for Sourcery Codebench Standard
@ 2014-07-13 18:45 Romain Naour
  2014-07-13 18:45 ` [Buildroot] [PATCH 1/3] toolchain-external: handle a special case where kernel headers check needs TOOLCHAIN_EXTERNAL_CFLAGS Romain Naour
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Romain Naour @ 2014-07-13 18:45 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.

The toolchain-external infra need to be modified to handle a special case where
all the libraries and headers are in the arch sysroot (sgxx-glibc).

Romain Naour (3):
  toolchain-external: handle a special case where kernel headers check
    needs TOOLCHAIN_EXTERNAL_CFLAGS
  toolchain-external: handle a special case where glibc check needs
    TOOLCHAIN_EXTERNAL_CFLAGS
  toolchain-external: fix Sourcery Codebench symlink

 toolchain/toolchain-external/toolchain-external.mk | 22 ++++++++++++++++++----
 1 file changed, 18 insertions(+), 4 deletions(-)

-- 
1.9.3

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

end of thread, other threads:[~2014-10-12 14:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-13 18:45 [Buildroot] [PATCH 0/3] toolchain: Add support for Sourcery Codebench Standard Romain Naour
2014-07-13 18:45 ` [Buildroot] [PATCH 1/3] toolchain-external: handle a special case where kernel headers check needs TOOLCHAIN_EXTERNAL_CFLAGS Romain Naour
2014-07-13 18:45 ` [Buildroot] [PATCH 2/3] toolchain-external: handle a special case where glibc " Romain Naour
2014-07-13 18:46 ` [Buildroot] [PATCH 3/3] toolchain-external: fix Sourcery Codebench symlink Romain Naour
2014-10-12 14:53 ` [Buildroot] [PATCH 0/3] toolchain: Add support for Sourcery Codebench Standard Thomas Petazzoni

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