diff mbox

toolchain: add Sourcery CodeBench ARM 2012.03

Message ID 1343565250-21699-1-git-send-email-tremyfr@yahoo.fr
State Rejected
Headers show

Commit Message

trem July 29, 2012, 12:34 p.m. UTC
Signed-off-by: Philippe Reynes <tremyfr@yahoo.fr>
 toolchain/toolchain-external/Config.in   |   22 ++++++++++++++++++++++
 toolchain/toolchain-external/ext-tool.mk |    3 +++
 2 files changed, 25 insertions(+), 0 deletions(-)


Thomas Petazzoni July 29, 2012, 4:43 p.m. UTC | #1
Hello Philippe,

Le Sun, 29 Jul 2012 14:34:10 +0200,
Philippe Reynes <tremyfr@yahoo.fr> a écrit :

> Signed-off-by: Philippe Reynes <tremyfr@yahoo.fr>
> ---
>  toolchain/toolchain-external/Config.in   |   22 ++++++++++++++++++++++
>  toolchain/toolchain-external/ext-tool.mk |    3 +++
>  2 files changed, 25 insertions(+), 0 deletions(-)


This patch has already been posted by Fabio Porcedda on July, 18th. And
even before that, on June, 3rd, I had posted the addition of other
glibc 2.15-based toolchains. Unfortunately, we cannot add them to
Buildroot as simply as your patch does: Buildroot currently makes the
assumption that the glibc toolchains always have RPC support. This was
effectively true until glibc 2.14, which got rid of the RPC support:
people are now supposed to use the separate libtirpc.

On June, 27th, I have posted an e-mail entitled "RPC support for modern
(e)glibc toolchains" which starts the discussion on how to integrate
libtirpc properly, and even though not impossible, things are not
completely simple.

So my plan is :

 * For 2012.08, don't add external toolchains using glibc 2.15, because
   it requires too much changes on how the RPC support is handled so
   late in the release cycle.
 * For 2012.11, continue the work to integrate libtirpc, so that we can
   add support for external toolchains that rely on glibc 2.15 and

Best regards,

diff mbox


diff --git a/toolchain/toolchain-external/Config.in b/toolchain/toolchain-external/Config.in
index e34802d..2350dd7 100644
--- a/toolchain/toolchain-external/Config.in
+++ b/toolchain/toolchain-external/Config.in
@@ -77,6 +77,27 @@  config BR2_TOOLCHAIN_EXTERNAL_LINARO_2012_02
 	  Thumb 2, with the softfp calling convention, and uses the
 	  VFPv3-D16 FPU instructions.
+	bool "Sourcery CodeBench ARM 2012.03"
+	depends on BR2_arm
+	help
+	  Sourcery CodeBench toolchain for the ARM architecture, from
+	  Mentor Graphics. It uses gcc 4.6.3, binutils 2.21.53, glibc
+	  2.15 and gdb 7.2.50, kernel headers 3.2.10. It has support
+	  for the following variants:
+	    - ARMv5TE, little endian, soft-float, glibc
+	      Select ARM926T, ARM10T, XScale or another ARMv5 core
+	      Select BR2_SOFT_FLOAT
+	    - ARMv4T, little endian, soft-float, glibc
+	      Select ARM720T, ARM920T, ARM922T or another ARMv4 core
+	      Select BR2_SOFT_FLOAT
+	    - ARMv7-A, Thumb 2, little endian, soft-float, glibc
+	      Select Cortex-A8, Cortex-A9 or another ARMv7-A core
+	      Select BR2_SOFT_FLOAT
+	      Set BR2_TARGET_OPTIMIZATION to -mthumb
 	bool "Sourcery CodeBench ARM 2011.09"
 	depends on BR2_arm
@@ -622,6 +643,7 @@  config BR2_TOOLCHAIN_EXTERNAL_PREFIX
 	default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201009
 	default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201103
 	default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201109
+	default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201203
 	default "microblazeel-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_V2
 	default "microblaze-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_V2
 	default "mips-linux-gnu"         if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS44
diff --git a/toolchain/toolchain-external/ext-tool.mk b/toolchain/toolchain-external/ext-tool.mk
index 53b898f..9d67aa6 100644
--- a/toolchain/toolchain-external/ext-tool.mk
+++ b/toolchain/toolchain-external/ext-tool.mk
@@ -187,6 +187,9 @@  TOOLCHAIN_EXTERNAL_SOURCE=arm-2011.03-41-arm-none-linux-gnueabi-i686-pc-linux-gn
 else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_2012_02),y)