* [Buildroot] [PATCH 0/6] External toolchain updates
@ 2014-03-05 22:23 Thomas Petazzoni
2014-03-05 22:23 ` [Buildroot] [PATCH 1/6] toolchain-external: fix musl external support on x86 Thomas Petazzoni
` (5 more replies)
0 siblings, 6 replies; 13+ messages in thread
From: Thomas Petazzoni @ 2014-03-05 22:23 UTC (permalink / raw)
To: buildroot
Hello,
Here is a round of updates to the external toolchains. It includes:
* Usual updates to the Linaro ARM and AArch64 toolchains.
* Additions of several Musl based external toolchains.
* Addition of the new ARMeb Linaro toolchain.
Best regards,
Thomas
Thomas Petazzoni (6):
toolchain-external: fix musl external support on x86
toolchain-external: add publicly available musl toolchains
toolchain-external: bump Linaro ARM toolchains
toolchain-external: remove useless info in help text of Linaro ARM
toolchains
toolchain-external: bump Linaro AArch64 toolchains
toolchain-external: add Linaro ARM big endian toolchain
toolchain/toolchain-external/Config.in | 229 ++++++++++++++++++---
toolchain/toolchain-external/toolchain-external.mk | 80 +++++--
2 files changed, 259 insertions(+), 50 deletions(-)
--
1.8.3.2
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] [PATCH 1/6] toolchain-external: fix musl external support on x86
2014-03-05 22:23 [Buildroot] [PATCH 0/6] External toolchain updates Thomas Petazzoni
@ 2014-03-05 22:23 ` Thomas Petazzoni
2014-03-06 7:09 ` Arnout Vandecappelle
2014-03-05 22:23 ` [Buildroot] [PATCH 2/6] toolchain-external: add publicly available musl toolchains Thomas Petazzoni
` (4 subsequent siblings)
5 siblings, 1 reply; 13+ messages in thread
From: Thomas Petazzoni @ 2014-03-05 22:23 UTC (permalink / raw)
To: buildroot
On x86, the symbolic link ld-musl-<ARCH>.so.1 to libc.so must be
ld-musl-i386.so.1 in all cases, but $(ARCH) in Buildroot might be
i386, i486, i586, i686, etc. depending on the specific x86 variants
being selected.
This commit fixes that by creating a MUSL_ARCH variable set to i386 on
x86, and to $(ARCH) on other architectures.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
toolchain/toolchain-external/toolchain-external.mk | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/toolchain/toolchain-external/toolchain-external.mk b/toolchain/toolchain-external/toolchain-external.mk
index 378e7b2..1b1053d 100644
--- a/toolchain/toolchain-external/toolchain-external.mk
+++ b/toolchain/toolchain-external/toolchain-external.mk
@@ -447,8 +447,13 @@ endef
# of the dynamic library loader. We just need to create a symbolic
# link to libc.so with the appropriate name.
ifeq ($(BR2_TOOLCHAIN_EXTERNAL_MUSL),y)
+ifeq ($(BR2_i386),y)
+MUSL_ARCH = i386
+else
+MUSL_ARCH = $(ARCH)
+endif
define TOOLCHAIN_EXTERNAL_MUSL_LD_LINK
- ln -sf libc.so $(TARGET_DIR)/lib/ld-musl-$(ARCH).so.1
+ ln -sf libc.so $(TARGET_DIR)/lib/ld-musl-$(MUSL_ARCH).so.1
endef
TOOLCHAIN_EXTERNAL_POST_INSTALL_STAGING_HOOKS += TOOLCHAIN_EXTERNAL_MUSL_LD_LINK
endif
--
1.8.3.2
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [Buildroot] [PATCH 2/6] toolchain-external: add publicly available musl toolchains
2014-03-05 22:23 [Buildroot] [PATCH 0/6] External toolchain updates Thomas Petazzoni
2014-03-05 22:23 ` [Buildroot] [PATCH 1/6] toolchain-external: fix musl external support on x86 Thomas Petazzoni
@ 2014-03-05 22:23 ` Thomas Petazzoni
2014-03-06 7:17 ` Arnout Vandecappelle
2014-03-05 22:23 ` [Buildroot] [PATCH 3/6] toolchain-external: bump Linaro ARM toolchains Thomas Petazzoni
` (3 subsequent siblings)
5 siblings, 1 reply; 13+ messages in thread
From: Thomas Petazzoni @ 2014-03-05 22:23 UTC (permalink / raw)
To: buildroot
This commit adds nine toolchains based on the musl C library that are
publicly available from the musl-cross project. Note that toolchains
prior to version 0.9.15 cannot be used in Buildroot because they don't
have sysroot support.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
toolchain/toolchain-external/Config.in | 148 +++++++++++++++++++++
toolchain/toolchain-external/toolchain-external.mk | 27 ++++
2 files changed, 175 insertions(+)
diff --git a/toolchain/toolchain-external/Config.in b/toolchain/toolchain-external/Config.in
index 7ad46c3..063df14 100644
--- a/toolchain/toolchain-external/Config.in
+++ b/toolchain/toolchain-external/Config.in
@@ -842,6 +842,145 @@ config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_09
Toolchain for the AArch64 architecture, from
http://www.linaro.org/engineering/armv8/
+config BR2_TOOLCHAIN_EXTERNAL_ARM_MUSL_CROSS
+ bool "Musl ARM toolchain"
+ depends on BR2_arm
+ depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
+ select BR2_TOOLCHAIN_EXTERNAL_MUSL
+ select BR2_INSTALL_LIBSTDCPP
+ select BR2_HOSTARCH_NEEDS_IA32_LIBS
+ select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
+ help
+ ARM toolchain based on the Musl C library, provided by the
+ musl-cross project. It uses gcc 4.8.2, binutils 2.24 and
+ musl 0.9.15. It does not have a cross debugger included. The
+ toolchain is built for ARMv4t, soft-float.
+
+ http://musl.codu.org/
+
+config BR2_TOOLCHAIN_EXTERNAL_X86_MUSL_CROSS
+ bool "Musl x86 toolchain"
+ # The toolchain is built for i486, so we exclude i386
+ depends on BR2_i386 && !BR2_x86_i386
+ depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
+ select BR2_TOOLCHAIN_EXTERNAL_MUSL
+ select BR2_INSTALL_LIBSTDCPP
+ select BR2_HOSTARCH_NEEDS_IA32_LIBS
+ select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
+ help
+ x86 toolchain based on the Musl C library, provided by the
+ musl-cross project. It uses gcc 4.8.2, binutils 2.24 and
+ musl 0.9.15. It does not have a cross debugger included. The
+ toolchain is built for i486.
+
+ http://musl.codu.org/
+
+config BR2_TOOLCHAIN_EXTERNAL_MICROBLAZE_MUSL_CROSS
+ bool "Musl Microblaze toolchain"
+ depends on BR2_microblaze
+ depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
+ select BR2_TOOLCHAIN_EXTERNAL_MUSL
+ select BR2_INSTALL_LIBSTDCPP
+ select BR2_HOSTARCH_NEEDS_IA32_LIBS
+ select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
+ help
+ Microblaze toolchain based on the Musl C library, provided
+ by the musl-cross project. It uses gcc 4.8.2, binutils 2.24
+ and musl 0.9.15. It does not have a cross debugger
+ included.
+
+ http://musl.codu.org/
+
+config BR2_TOOLCHAIN_EXTERNAL_MIPS_MUSL_CROSS
+ bool "Musl MIPS hard-float toolchain"
+ depends on BR2_mips && !BR2_SOFT_FLOAT
+ depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
+ select BR2_TOOLCHAIN_EXTERNAL_MUSL
+ select BR2_INSTALL_LIBSTDCPP
+ select BR2_HOSTARCH_NEEDS_IA32_LIBS
+ select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
+ help
+ MIPS toolchain based on the Musl C library, provided by the
+ musl-cross project. It uses gcc 4.8.2, binutils 2.24 and
+ musl 0.9.15. It does not have a cross debugger included.
+
+ http://musl.codu.org/
+
+config BR2_TOOLCHAIN_EXTERNAL_MIPS_SF_MUSL_CROSS
+ bool "Musl MIPS soft-float toolchain"
+ depends on BR2_mips && BR2_SOFT_FLOAT
+ depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
+ select BR2_TOOLCHAIN_EXTERNAL_MUSL
+ select BR2_INSTALL_LIBSTDCPP
+ select BR2_HOSTARCH_NEEDS_IA32_LIBS
+ select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
+ help
+ MIPS toolchain based on the Musl C library, provided by the
+ musl-cross project. It uses gcc 4.8.2, binutils 2.24 and
+ musl 0.9.15. It does not have a cross debugger included.
+
+ http://musl.codu.org/
+
+config BR2_TOOLCHAIN_EXTERNAL_MIPSEL_MUSL_CROSS
+ bool "Musl MIPSel hard-float toolchain"
+ depends on BR2_mipsel && !BR2_SOFT_FLOAT
+ depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
+ select BR2_TOOLCHAIN_EXTERNAL_MUSL
+ select BR2_INSTALL_LIBSTDCPP
+ select BR2_HOSTARCH_NEEDS_IA32_LIBS
+ select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
+ help
+ MIPSel toolchain based on the Musl C library, provided by
+ the musl-cross project. It uses gcc 4.8.2, binutils 2.24 and
+ musl 0.9.15. It does not have a cross debugger included.
+
+ http://musl.codu.org/
+
+config BR2_TOOLCHAIN_EXTERNAL_MIPSEL_SF_MUSL_CROSS
+ bool "Musl MIPSel soft-float toolchain"
+ depends on BR2_mipsel && BR2_SOFT_FLOAT
+ depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
+ select BR2_TOOLCHAIN_EXTERNAL_MUSL
+ select BR2_INSTALL_LIBSTDCPP
+ select BR2_HOSTARCH_NEEDS_IA32_LIBS
+ select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
+ help
+ MIPSel toolchain based on the Musl C library, provided by
+ the musl-cross project. It uses gcc 4.8.2, binutils 2.24 and
+ musl 0.9.15. It does not have a cross debugger included.
+
+ http://musl.codu.org/
+
+config BR2_TOOLCHAIN_EXTERNAL_POWERPC_MUSL_CROSS
+ bool "Musl PowerPC toolchain"
+ depends on BR2_powerpc
+ depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
+ select BR2_TOOLCHAIN_EXTERNAL_MUSL
+ select BR2_INSTALL_LIBSTDCPP
+ select BR2_HOSTARCH_NEEDS_IA32_LIBS
+ select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
+ help
+ PowerPC toolchain based on the Musl C library, provided by
+ the musl-cross project. It uses gcc 4.8.2, binutils 2.24 and
+ musl 0.9.15. It does not have a cross debugger included.
+
+ http://musl.codu.org/
+
+config BR2_TOOLCHAIN_EXTERNAL_X86_64_MUSL_CROSS
+ bool "Musl x86-64 toolchain"
+ depends on BR2_x86_64
+ depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
+ select BR2_TOOLCHAIN_EXTERNAL_MUSL
+ select BR2_INSTALL_LIBSTDCPP
+ select BR2_HOSTARCH_NEEDS_IA32_LIBS
+ select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
+ help
+ x86-64 toolchain based on the Musl C library, provided by
+ the musl-cross project. It uses gcc 4.8.2, binutils 2.24 and
+ musl 0.9.15. It does not have a cross debugger included.
+
+ http://musl.codu.org/
+
config BR2_TOOLCHAIN_EXTERNAL_CUSTOM
bool "Custom toolchain"
help
@@ -927,6 +1066,15 @@ config BR2_TOOLCHAIN_EXTERNAL_PREFIX
default "bfin-linux-uclibc" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2 && BR2_BINFMT_FDPIC
default "bfin-uclinux" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2013R1 && BR2_BINFMT_FLAT
default "bfin-linux-uclibc" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2013R1 && BR2_BINFMT_FDPIC
+ default "arm-linux-musleabi" if BR2_TOOLCHAIN_EXTERNAL_ARM_MUSL_CROSS
+ default "i486-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_X86_MUSL_CROSS
+ default "microblaze-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MICROBLAZE_MUSL_CROSS
+ default "mips-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MIPS_MUSL_CROSS
+ default "mips-sf-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MIPS_SF_MUSL_CROSS
+ default "mipsel-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MIPSEL_MUSL_CROSS
+ default "mipsel-sf-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MIPSEL_SF_MUSL_CROSS
+ default "powerpc-linux-musl-gcc" if BR2_TOOLCHAIN_EXTERNAL_POWERPC_MUSL_CROSS
+ default "x86_64-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_X86_64_MUSL_CROSS
default BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX \
if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
diff --git a/toolchain/toolchain-external/toolchain-external.mk b/toolchain/toolchain-external/toolchain-external.mk
index 1b1053d..de3575c 100644
--- a/toolchain/toolchain-external/toolchain-external.mk
+++ b/toolchain/toolchain-external/toolchain-external.mk
@@ -352,6 +352,33 @@ TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-aarch64-linux-gnu-4.8-2013.10-1_linux.tar
else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_11),y)
TOOLCHAIN_EXTERNAL_SITE = http://releases.linaro.org/13.11/components/toolchain/binaries/
TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-aarch64-linux-gnu-4.8-2013.11_linux.tar.xz
+else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_ARM_MUSL_CROSS),y)
+TOOLCHAIN_EXTERNAL_SITE = https://googledrive.com/host/0BwnS5DMB0YQ6bDhPZkpOYVFhbk0/musl-0.9.15/
+TOOLCHAIN_EXTERNAL_SOURCE = crossx86-arm-linux-musleabi-0.9.15.tar.xz
+else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_X86_MUSL_CROSS),y)
+TOOLCHAIN_EXTERNAL_SITE = https://googledrive.com/host/0BwnS5DMB0YQ6bDhPZkpOYVFhbk0/musl-0.9.15/
+TOOLCHAIN_EXTERNAL_SOURCE = crossx86-i486-linux-musl-0.9.15.tar.xz
+else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_MICROBLAZE_MUSL_CROSS),y)
+TOOLCHAIN_EXTERNAL_SITE = https://googledrive.com/host/0BwnS5DMB0YQ6bDhPZkpOYVFhbk0/musl-0.9.15/
+TOOLCHAIN_EXTERNAL_SOURCE = crossx86-microblaze-linux-musl-0.9.15.tar.xz
+else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_MIPS_MUSL_CROSS),y)
+TOOLCHAIN_EXTERNAL_SITE = https://googledrive.com/host/0BwnS5DMB0YQ6bDhPZkpOYVFhbk0/musl-0.9.15/
+TOOLCHAIN_EXTERNAL_SOURCE = crossx86-mips-linux-musl-0.9.15.tar.xz
+else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_MIPS_SF_MUSL_CROSS),y)
+TOOLCHAIN_EXTERNAL_SITE = https://googledrive.com/host/0BwnS5DMB0YQ6bDhPZkpOYVFhbk0/musl-0.9.15/
+TOOLCHAIN_EXTERNAL_SOURCE = crossx86-mips-sf-linux-musl-0.9.15.tar.xz
+else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_MIPSEL_MUSL_CROSS),y)
+TOOLCHAIN_EXTERNAL_SITE = https://googledrive.com/host/0BwnS5DMB0YQ6bDhPZkpOYVFhbk0/musl-0.9.15/
+TOOLCHAIN_EXTERNAL_SOURCE = crossx86-mipsel-linux-musl-0.9.15.tar.xz
+else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_MIPSEL_SF_MUSL_CROSS),y)
+TOOLCHAIN_EXTERNAL_SITE = https://googledrive.com/host/0BwnS5DMB0YQ6bDhPZkpOYVFhbk0/musl-0.9.15/
+TOOLCHAIN_EXTERNAL_SOURCE = crossx86-mipsel-sf-linux-musl-0.9.15.tar.xz
+else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_POWERPC_MUSL_CROSS),y)
+TOOLCHAIN_EXTERNAL_SITE = https://googledrive.com/host/0BwnS5DMB0YQ6bDhPZkpOYVFhbk0/musl-0.9.15/
+TOOLCHAIN_EXTERNAL_SOURCE = crossx86-powerpc-linux-musl-0.9.15.tar.xz
+else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_X86_64_MUSL_CROSS),y)
+TOOLCHAIN_EXTERNAL_SITE = https://googledrive.com/host/0BwnS5DMB0YQ6bDhPZkpOYVFhbk0/musl-0.9.15/
+TOOLCHAIN_EXTERNAL_SOURCE = crossx86-x86_64-linux-musl-0.9.15.tar.xz
else
# Custom toolchain
TOOLCHAIN_EXTERNAL_SITE = $(dir $(call qstrip,$(BR2_TOOLCHAIN_EXTERNAL_URL)))
--
1.8.3.2
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [Buildroot] [PATCH 3/6] toolchain-external: bump Linaro ARM toolchains
2014-03-05 22:23 [Buildroot] [PATCH 0/6] External toolchain updates Thomas Petazzoni
2014-03-05 22:23 ` [Buildroot] [PATCH 1/6] toolchain-external: fix musl external support on x86 Thomas Petazzoni
2014-03-05 22:23 ` [Buildroot] [PATCH 2/6] toolchain-external: add publicly available musl toolchains Thomas Petazzoni
@ 2014-03-05 22:23 ` Thomas Petazzoni
2014-03-05 22:23 ` [Buildroot] [PATCH 4/6] toolchain-external: remove useless info in help text of " Thomas Petazzoni
` (2 subsequent siblings)
5 siblings, 0 replies; 13+ messages in thread
From: Thomas Petazzoni @ 2014-03-05 22:23 UTC (permalink / raw)
To: buildroot
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
toolchain/toolchain-external/Config.in | 30 +++++++++++-----------
toolchain/toolchain-external/toolchain-external.mk | 18 ++++++-------
2 files changed, 24 insertions(+), 24 deletions(-)
diff --git a/toolchain/toolchain-external/Config.in b/toolchain/toolchain-external/Config.in
index 063df14..fd1a826 100644
--- a/toolchain/toolchain-external/Config.in
+++ b/toolchain/toolchain-external/Config.in
@@ -6,8 +6,8 @@ choice
comment "(e)glibc toolchains only available with shared lib support"
depends on BR2_PREFER_STATIC_LIB
-config BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_11
- bool "Linaro 2013.11"
+config BR2_TOOLCHAIN_EXTERNAL_LINARO_2014_02
+ bool "Linaro 2014.02"
depends on BR2_arm
depends on BR2_GCC_TARGET_ARCH = "armv7-a"
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
@@ -20,8 +20,8 @@ config BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_11
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
help
Linaro toolchain for the ARM architecture. It uses Linaro
- GCC 2013.11 (based on gcc 4.8), Linaro GDB 2013.10 (based on
- GDB 7.6), eglibc 2.18, Binutils 2013.10 (based on 2.23). It
+ GCC 2014.02 (based on gcc 4.8), Linaro GDB 2013.10 (based on
+ GDB 7.6), eglibc 2.18, Binutils 2014.02 (based on 2.24). It
generates code that runs on all Cortex-A profile devices,
but tuned for the Cortex-A9. The code generated is Thumb 2,
with the hard floating point calling convention, and uses
@@ -29,8 +29,8 @@ config BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_11
To use this toolchain, you must disable soft float usage.
-config BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_10
- bool "Linaro 2013.10"
+config BR2_TOOLCHAIN_EXTERNAL_LINARO_2014_01
+ bool "Linaro 2014.01"
depends on BR2_arm
depends on BR2_GCC_TARGET_ARCH = "armv7-a"
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
@@ -43,8 +43,8 @@ config BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_10
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
help
Linaro toolchain for the ARM architecture. It uses Linaro
- GCC 2013.10 (based on gcc 4.8), Linaro GDB 2013.10 (based on
- GDB 7.6), eglibc 2.18, Binutils 2013.10 (based on 2.23). It
+ GCC 2014.01 (based on gcc 4.8), Linaro GDB 2013.10 (based on
+ GDB 7.6), eglibc 2.18, Binutils 2013.11 (based on 2.24). It
generates code that runs on all Cortex-A profile devices,
but tuned for the Cortex-A9. The code generated is Thumb 2,
with the hard floating point calling convention, and uses
@@ -52,8 +52,8 @@ config BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_10
To use this toolchain, you must disable soft float usage.
-config BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_09
- bool "Linaro 2013.09"
+config BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_12
+ bool "Linaro 2013.12"
depends on BR2_arm
depends on BR2_GCC_TARGET_ARCH = "armv7-a"
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
@@ -66,8 +66,8 @@ config BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_09
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
help
Linaro toolchain for the ARM architecture. It uses Linaro
- GCC 2013.09 (based on gcc 4.8), Linaro GDB 2013.05 (based on
- GDB 7.6), eglibc 2.17, Binutils 2013.06 (based on 2.23). It
+ GCC 2013.12 (based on gcc 4.8), Linaro GDB 2013.10 (based on
+ GDB 7.6), eglibc 2.18, Binutils 2013.11 (based on 2.24). It
generates code that runs on all Cortex-A profile devices,
but tuned for the Cortex-A9. The code generated is Thumb 2,
with the hard floating point calling convention, and uses
@@ -1031,9 +1031,9 @@ config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX
config BR2_TOOLCHAIN_EXTERNAL_PREFIX
string
- default "arm-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_11
- default "arm-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_10
- default "arm-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_09
+ default "arm-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_2014_02
+ default "arm-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_2014_01
+ default "arm-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_12
default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201203
default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201305
default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201311
diff --git a/toolchain/toolchain-external/toolchain-external.mk b/toolchain/toolchain-external/toolchain-external.mk
index de3575c..0ef5a82 100644
--- a/toolchain/toolchain-external/toolchain-external.mk
+++ b/toolchain/toolchain-external/toolchain-external.mk
@@ -265,17 +265,17 @@ define TOOLCHAIN_EXTERNAL_FIXUP_CMDS
mv $(TOOLCHAIN_EXTERNAL_INSTALL_DIR)/arago-2011.09/armv5te/* $(TOOLCHAIN_EXTERNAL_INSTALL_DIR)/
rm -rf $(TOOLCHAIN_EXTERNAL_INSTALL_DIR)/arago-2011.09/
endef
-else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_09),y)
-TOOLCHAIN_EXTERNAL_SITE = http://releases.linaro.org/13.09/components/toolchain/binaries/
-TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-arm-linux-gnueabihf-4.8-2013.09_linux.tar.xz
+else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_12),y)
+TOOLCHAIN_EXTERNAL_SITE = http://releases.linaro.org/13.12/components/toolchain/binaries/
+TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-arm-linux-gnueabihf-4.8-2013.12_linux.tar.xz
TOOLCHAIN_EXTERNAL_POST_INSTALL_STAGING_HOOKS += TOOLCHAIN_EXTERNAL_LINARO_ARMHF_SYMLINK
-else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_10),y)
-TOOLCHAIN_EXTERNAL_SITE = http://releases.linaro.org/13.10/components/toolchain/binaries/
-TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux.tar.xz
+else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_2014_01),y)
+TOOLCHAIN_EXTERNAL_SITE = http://releases.linaro.org/14.01/components/toolchain/binaries/
+TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-arm-linux-gnueabihf-4.8-2014.01_linux.tar.xz
TOOLCHAIN_EXTERNAL_POST_INSTALL_STAGING_HOOKS += TOOLCHAIN_EXTERNAL_LINARO_ARMHF_SYMLINK
-else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_11),y)
-TOOLCHAIN_EXTERNAL_SITE = http://releases.linaro.org/13.11/components/toolchain/binaries/
-TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-arm-linux-gnueabihf-4.8-2013.11_linux.tar.xz
+else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_2014_02),y)
+TOOLCHAIN_EXTERNAL_SITE = http://releases.linaro.org/14.02/components/toolchain/binaries/
+TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-arm-linux-gnueabihf-4.8-2014.02_linux.tar.xz
TOOLCHAIN_EXTERNAL_POST_INSTALL_STAGING_HOOKS += TOOLCHAIN_EXTERNAL_LINARO_ARMHF_SYMLINK
else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201209),y)
TOOLCHAIN_EXTERNAL_SITE = http://sourcery.mentor.com/public/gnu_toolchain/mips-linux-gnu/
--
1.8.3.2
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [Buildroot] [PATCH 4/6] toolchain-external: remove useless info in help text of Linaro ARM toolchains
2014-03-05 22:23 [Buildroot] [PATCH 0/6] External toolchain updates Thomas Petazzoni
` (2 preceding siblings ...)
2014-03-05 22:23 ` [Buildroot] [PATCH 3/6] toolchain-external: bump Linaro ARM toolchains Thomas Petazzoni
@ 2014-03-05 22:23 ` Thomas Petazzoni
2014-03-05 22:39 ` Yann E. MORIN
2014-03-05 22:23 ` [Buildroot] [PATCH 5/6] toolchain-external: bump Linaro AArch64 toolchains Thomas Petazzoni
2014-03-05 22:23 ` [Buildroot] [PATCH 6/6] toolchain-external: add Linaro ARM big endian toolchain Thomas Petazzoni
5 siblings, 1 reply; 13+ messages in thread
From: Thomas Petazzoni @ 2014-03-05 22:23 UTC (permalink / raw)
To: buildroot
The information "To use this toolchain, you must disable soft float
usage." which was visible in the help text of Linaro toolchains is no
longer useful, since those toolchains are only visible when the ARM
EABIhf ABI is selected, which by design is not compatible with
soft-float.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
toolchain/toolchain-external/Config.in | 6 ------
1 file changed, 6 deletions(-)
diff --git a/toolchain/toolchain-external/Config.in b/toolchain/toolchain-external/Config.in
index fd1a826..8647357 100644
--- a/toolchain/toolchain-external/Config.in
+++ b/toolchain/toolchain-external/Config.in
@@ -27,8 +27,6 @@ config BR2_TOOLCHAIN_EXTERNAL_LINARO_2014_02
with the hard floating point calling convention, and uses
the VFPv3-D16 FPU instructions.
- To use this toolchain, you must disable soft float usage.
-
config BR2_TOOLCHAIN_EXTERNAL_LINARO_2014_01
bool "Linaro 2014.01"
depends on BR2_arm
@@ -50,8 +48,6 @@ config BR2_TOOLCHAIN_EXTERNAL_LINARO_2014_01
with the hard floating point calling convention, and uses
the VFPv3-D16 FPU instructions.
- To use this toolchain, you must disable soft float usage.
-
config BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_12
bool "Linaro 2013.12"
depends on BR2_arm
@@ -73,8 +69,6 @@ config BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_12
with the hard floating point calling convention, and uses
the VFPv3-D16 FPU instructions.
- To use this toolchain, you must disable soft float usage.
-
comment "Linaro toolchains available for Cortex-A + EABIhf"
depends on BR2_arm
depends on BR2_GCC_TARGET_ARCH != "armv7-a" || !BR2_ARM_EABIHF
--
1.8.3.2
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [Buildroot] [PATCH 5/6] toolchain-external: bump Linaro AArch64 toolchains
2014-03-05 22:23 [Buildroot] [PATCH 0/6] External toolchain updates Thomas Petazzoni
` (3 preceding siblings ...)
2014-03-05 22:23 ` [Buildroot] [PATCH 4/6] toolchain-external: remove useless info in help text of " Thomas Petazzoni
@ 2014-03-05 22:23 ` Thomas Petazzoni
2014-03-05 22:23 ` [Buildroot] [PATCH 6/6] toolchain-external: add Linaro ARM big endian toolchain Thomas Petazzoni
5 siblings, 0 replies; 13+ messages in thread
From: Thomas Petazzoni @ 2014-03-05 22:23 UTC (permalink / raw)
To: buildroot
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
toolchain/toolchain-external/Config.in | 18 +++++++++---------
toolchain/toolchain-external/toolchain-external.mk | 18 +++++++++---------
2 files changed, 18 insertions(+), 18 deletions(-)
diff --git a/toolchain/toolchain-external/Config.in b/toolchain/toolchain-external/Config.in
index 8647357..9844518 100644
--- a/toolchain/toolchain-external/Config.in
+++ b/toolchain/toolchain-external/Config.in
@@ -794,8 +794,8 @@ config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_V2
Toolchain for the Microblaze architecture, from
http://wiki.xilinx.com/mb-gnu-tools
-config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_11
- bool "Linaro AArch64 13.11"
+config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_14_02
+ bool "Linaro AArch64 14.02"
depends on BR2_aarch64
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
depends on !BR2_PREFER_STATIC_LIB
@@ -808,8 +808,8 @@ config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_11
Toolchain for the AArch64 architecture, from
http://www.linaro.org/engineering/armv8/
-config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_10
- bool "Linaro AArch64 13.10"
+config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_14_01
+ bool "Linaro AArch64 14.01"
depends on BR2_aarch64
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
depends on !BR2_PREFER_STATIC_LIB
@@ -822,8 +822,8 @@ config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_10
Toolchain for the AArch64 architecture, from
http://www.linaro.org/engineering/armv8/
-config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_09
- bool "Linaro AArch64 13.09"
+config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_12
+ bool "Linaro AArch64 13.12"
depends on BR2_aarch64
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
depends on !BR2_PREFER_STATIC_LIB
@@ -1033,9 +1033,9 @@ config BR2_TOOLCHAIN_EXTERNAL_PREFIX
default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201311
default "arm-arago-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV7A_201109
default "arm-arago-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV5TE_201109
- default "aarch64-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_11
- default "aarch64-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_10
- default "aarch64-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_09
+ default "aarch64-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_14_02
+ default "aarch64-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_14_01
+ default "aarch64-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_12
default "microblazeel-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_14_3
default "microblazeel-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_V2
default "microblaze-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_14_3
diff --git a/toolchain/toolchain-external/toolchain-external.mk b/toolchain/toolchain-external/toolchain-external.mk
index 0ef5a82..19075cb 100644
--- a/toolchain/toolchain-external/toolchain-external.mk
+++ b/toolchain/toolchain-external/toolchain-external.mk
@@ -343,15 +343,15 @@ TOOLCHAIN_EXTERNAL_SOURCE = lin32-microblaze-unknown-linux-gnu_14.3_early.tar.xz
else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_V2),y)
TOOLCHAIN_EXTERNAL_SITE = http://sources.buildroot.net/
TOOLCHAIN_EXTERNAL_SOURCE = microblaze-unknown-linux-gnu.tgz
-else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_09),y)
-TOOLCHAIN_EXTERNAL_SITE = http://releases.linaro.org/13.09/components/toolchain/binaries/
-TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-aarch64-linux-gnu-4.8-2013.09_linux.tar.xz
-else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_10),y)
-TOOLCHAIN_EXTERNAL_SITE = http://releases.linaro.org/13.10/components/toolchain/binaries/
-TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-aarch64-linux-gnu-4.8-2013.10-1_linux.tar.xz
-else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_11),y)
-TOOLCHAIN_EXTERNAL_SITE = http://releases.linaro.org/13.11/components/toolchain/binaries/
-TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-aarch64-linux-gnu-4.8-2013.11_linux.tar.xz
+else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_12),y)
+TOOLCHAIN_EXTERNAL_SITE = http://releases.linaro.org/13.12/components/toolchain/binaries/
+TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-aarch64-linux-gnu-4.8-2013.12-linux.tar.xz
+else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_14_01),y)
+TOOLCHAIN_EXTERNAL_SITE = http://releases.linaro.org/14.01/components/toolchain/binaries/
+TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-aarch64-linux-gnu-4.8-2014.01_linux.tar.xz
+else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_14_02),y)
+TOOLCHAIN_EXTERNAL_SITE = http://releases.linaro.org/14.02/components/toolchain/binaries/
+TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-aarch64-linux-gnu-4.8-2014.02_linux.tar.xz
else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_ARM_MUSL_CROSS),y)
TOOLCHAIN_EXTERNAL_SITE = https://googledrive.com/host/0BwnS5DMB0YQ6bDhPZkpOYVFhbk0/musl-0.9.15/
TOOLCHAIN_EXTERNAL_SOURCE = crossx86-arm-linux-musleabi-0.9.15.tar.xz
--
1.8.3.2
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [Buildroot] [PATCH 6/6] toolchain-external: add Linaro ARM big endian toolchain
2014-03-05 22:23 [Buildroot] [PATCH 0/6] External toolchain updates Thomas Petazzoni
` (4 preceding siblings ...)
2014-03-05 22:23 ` [Buildroot] [PATCH 5/6] toolchain-external: bump Linaro AArch64 toolchains Thomas Petazzoni
@ 2014-03-05 22:23 ` Thomas Petazzoni
2014-03-06 22:23 ` Peter Korsgaard
5 siblings, 1 reply; 13+ messages in thread
From: Thomas Petazzoni @ 2014-03-05 22:23 UTC (permalink / raw)
To: buildroot
Linaro has started to release ARM big endian toolchains, so we
integrate this toolchain in the external toolchain logic of
Buildroot. Since ARM big endian is probably going to be a lot more
confidential than ARM little endian, we will only support one version
at a time of this toolchain.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
toolchain/toolchain-external/Config.in | 27 ++++++++++++++++++++++
toolchain/toolchain-external/toolchain-external.mk | 10 +++++++-
2 files changed, 36 insertions(+), 1 deletion(-)
diff --git a/toolchain/toolchain-external/Config.in b/toolchain/toolchain-external/Config.in
index 9844518..9f04595 100644
--- a/toolchain/toolchain-external/Config.in
+++ b/toolchain/toolchain-external/Config.in
@@ -74,6 +74,32 @@ comment "Linaro toolchains available for Cortex-A + EABIhf"
depends on BR2_GCC_TARGET_ARCH != "armv7-a" || !BR2_ARM_EABIHF
depends on !BR2_PREFER_STATIC_LIB
+config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB
+ bool "Linaro armeb 2014.02"
+ depends on BR2_armeb
+ depends on BR2_GCC_TARGET_ARCH = "armv7-a"
+ depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
+ depends on BR2_ARM_EABIHF
+ depends on !BR2_PREFER_STATIC_LIB
+ select BR2_TOOLCHAIN_EXTERNAL_GLIBC
+ select BR2_TOOLCHAIN_HAS_NATIVE_RPC
+ select BR2_INSTALL_LIBSTDCPP
+ select BR2_HOSTARCH_NEEDS_IA32_LIBS
+ select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
+ help
+ Linaro toolchain for the ARM big endian architecture. It
+ uses Linaro GCC 2014.01 (based on gcc 4.8), Linaro GDB
+ 2013.10 (based on GDB 7.6), eglibc 2.18, Binutils 2013.11
+ (based on 2.24). It generates code that runs on all Cortex-A
+ profile devices, but tuned for the Cortex-A9. The code
+ generated is Thumb 2, with the hard floating point calling
+ convention, and uses the VFPv3-D16 FPU instructions.
+
+comment "Linaro toolchains available for Cortex-A + EABIhf"
+ depends on BR2_armeb
+ depends on BR2_GCC_TARGET_ARCH != "armv7-a" || !BR2_ARM_EABIHF
+ depends on !BR2_PREFER_STATIC_LIB
+
config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201311
bool "Sourcery CodeBench ARM 2013.11"
depends on BR2_arm
@@ -1028,6 +1054,7 @@ config BR2_TOOLCHAIN_EXTERNAL_PREFIX
default "arm-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_2014_02
default "arm-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_2014_01
default "arm-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_12
+ default "armeb-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB
default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201203
default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201305
default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201311
diff --git a/toolchain/toolchain-external/toolchain-external.mk b/toolchain/toolchain-external/toolchain-external.mk
index 19075cb..848cbb8 100644
--- a/toolchain/toolchain-external/toolchain-external.mk
+++ b/toolchain/toolchain-external/toolchain-external.mk
@@ -242,6 +242,11 @@ define TOOLCHAIN_EXTERNAL_LINARO_ARMHF_SYMLINK
ln -sf . $(TARGET_DIR)/usr/lib/arm-linux-gnueabihf
endef
+define TOOLCHAIN_EXTERNAL_LINARO_ARMEBHF_SYMLINK
+ ln -sf . $(TARGET_DIR)/lib/armeb-linux-gnueabihf
+ ln -sf . $(TARGET_DIR)/usr/lib/armeb-linux-gnueabihf
+endef
+
ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201203),y)
TOOLCHAIN_EXTERNAL_SITE = http://sourcery.mentor.com/public/gnu_toolchain/arm-none-linux-gnueabi/
TOOLCHAIN_EXTERNAL_SOURCE = arm-2012.03-57-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2
@@ -276,7 +281,10 @@ TOOLCHAIN_EXTERNAL_POST_INSTALL_STAGING_HOOKS += TOOLCHAIN_EXTERNAL_LINARO_ARMHF
else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_2014_02),y)
TOOLCHAIN_EXTERNAL_SITE = http://releases.linaro.org/14.02/components/toolchain/binaries/
TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-arm-linux-gnueabihf-4.8-2014.02_linux.tar.xz
-TOOLCHAIN_EXTERNAL_POST_INSTALL_STAGING_HOOKS += TOOLCHAIN_EXTERNAL_LINARO_ARMHF_SYMLINK
+else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB),y)
+TOOLCHAIN_EXTERNAL_SITE = http://releases.linaro.org/14.02/components/toolchain/binaries/
+TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-armeb-linux-gnueabihf-4.8-2014.02_linux.tar.xz
+TOOLCHAIN_EXTERNAL_POST_INSTALL_STAGING_HOOKS += TOOLCHAIN_EXTERNAL_LINARO_ARMEBHF_SYMLINK
else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201209),y)
TOOLCHAIN_EXTERNAL_SITE = http://sourcery.mentor.com/public/gnu_toolchain/mips-linux-gnu/
TOOLCHAIN_EXTERNAL_SOURCE = mips-2012.09-99-mips-linux-gnu-i686-pc-linux-gnu.tar.bz2
--
1.8.3.2
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [Buildroot] [PATCH 4/6] toolchain-external: remove useless info in help text of Linaro ARM toolchains
2014-03-05 22:23 ` [Buildroot] [PATCH 4/6] toolchain-external: remove useless info in help text of " Thomas Petazzoni
@ 2014-03-05 22:39 ` Yann E. MORIN
0 siblings, 0 replies; 13+ messages in thread
From: Yann E. MORIN @ 2014-03-05 22:39 UTC (permalink / raw)
To: buildroot
Thomas, All,
On 2014-03-05 23:23 +0100, Thomas Petazzoni spake thusly:
> The information "To use this toolchain, you must disable soft float
> usage." which was visible in the help text of Linaro toolchains is no
> longer useful, since those toolchains are only visible when the ARM
> EABIhf ABI is selected, which by design is not compatible with
> soft-float.
>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Regards,
Yann E. MORIN.
> ---
> toolchain/toolchain-external/Config.in | 6 ------
> 1 file changed, 6 deletions(-)
>
> diff --git a/toolchain/toolchain-external/Config.in b/toolchain/toolchain-external/Config.in
> index fd1a826..8647357 100644
> --- a/toolchain/toolchain-external/Config.in
> +++ b/toolchain/toolchain-external/Config.in
> @@ -27,8 +27,6 @@ config BR2_TOOLCHAIN_EXTERNAL_LINARO_2014_02
> with the hard floating point calling convention, and uses
> the VFPv3-D16 FPU instructions.
>
> - To use this toolchain, you must disable soft float usage.
> -
> config BR2_TOOLCHAIN_EXTERNAL_LINARO_2014_01
> bool "Linaro 2014.01"
> depends on BR2_arm
> @@ -50,8 +48,6 @@ config BR2_TOOLCHAIN_EXTERNAL_LINARO_2014_01
> with the hard floating point calling convention, and uses
> the VFPv3-D16 FPU instructions.
>
> - To use this toolchain, you must disable soft float usage.
> -
> config BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_12
> bool "Linaro 2013.12"
> depends on BR2_arm
> @@ -73,8 +69,6 @@ config BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_12
> with the hard floating point calling convention, and uses
> the VFPv3-D16 FPU instructions.
>
> - To use this toolchain, you must disable soft float usage.
> -
> comment "Linaro toolchains available for Cortex-A + EABIhf"
> depends on BR2_arm
> depends on BR2_GCC_TARGET_ARCH != "armv7-a" || !BR2_ARM_EABIHF
> --
> 1.8.3.2
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] [PATCH 1/6] toolchain-external: fix musl external support on x86
2014-03-05 22:23 ` [Buildroot] [PATCH 1/6] toolchain-external: fix musl external support on x86 Thomas Petazzoni
@ 2014-03-06 7:09 ` Arnout Vandecappelle
0 siblings, 0 replies; 13+ messages in thread
From: Arnout Vandecappelle @ 2014-03-06 7:09 UTC (permalink / raw)
To: buildroot
On 05/03/14 23:23, Thomas Petazzoni wrote:
> On x86, the symbolic link ld-musl-<ARCH>.so.1 to libc.so must be
> ld-musl-i386.so.1 in all cases, but $(ARCH) in Buildroot might be
> i386, i486, i586, i686, etc. depending on the specific x86 variants
> being selected.
>
> This commit fixes that by creating a MUSL_ARCH variable set to i386 on
> x86, and to $(ARCH) on other architectures.
>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
> ---
> toolchain/toolchain-external/toolchain-external.mk | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/toolchain/toolchain-external/toolchain-external.mk b/toolchain/toolchain-external/toolchain-external.mk
> index 378e7b2..1b1053d 100644
> --- a/toolchain/toolchain-external/toolchain-external.mk
> +++ b/toolchain/toolchain-external/toolchain-external.mk
> @@ -447,8 +447,13 @@ endef
> # of the dynamic library loader. We just need to create a symbolic
> # link to libc.so with the appropriate name.
> ifeq ($(BR2_TOOLCHAIN_EXTERNAL_MUSL),y)
> +ifeq ($(BR2_i386),y)
> +MUSL_ARCH = i386
> +else
> +MUSL_ARCH = $(ARCH)
> +endif
> define TOOLCHAIN_EXTERNAL_MUSL_LD_LINK
> - ln -sf libc.so $(TARGET_DIR)/lib/ld-musl-$(ARCH).so.1
> + ln -sf libc.so $(TARGET_DIR)/lib/ld-musl-$(MUSL_ARCH).so.1
> endef
> TOOLCHAIN_EXTERNAL_POST_INSTALL_STAGING_HOOKS += TOOLCHAIN_EXTERNAL_MUSL_LD_LINK
> endif
>
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] [PATCH 2/6] toolchain-external: add publicly available musl toolchains
2014-03-05 22:23 ` [Buildroot] [PATCH 2/6] toolchain-external: add publicly available musl toolchains Thomas Petazzoni
@ 2014-03-06 7:17 ` Arnout Vandecappelle
0 siblings, 0 replies; 13+ messages in thread
From: Arnout Vandecappelle @ 2014-03-06 7:17 UTC (permalink / raw)
To: buildroot
On 05/03/14 23:23, Thomas Petazzoni wrote:
> This commit adds nine toolchains based on the musl C library that are
> publicly available from the musl-cross project. Note that toolchains
> prior to version 0.9.15 cannot be used in Buildroot because they don't
> have sysroot support.
>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ---
> toolchain/toolchain-external/Config.in | 148 +++++++++++++++++++++
> toolchain/toolchain-external/toolchain-external.mk | 27 ++++
> 2 files changed, 175 insertions(+)
>
> diff --git a/toolchain/toolchain-external/Config.in b/toolchain/toolchain-external/Config.in
> index 7ad46c3..063df14 100644
> --- a/toolchain/toolchain-external/Config.in
> +++ b/toolchain/toolchain-external/Config.in
> @@ -842,6 +842,145 @@ config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_09
> Toolchain for the AArch64 architecture, from
> http://www.linaro.org/engineering/armv8/
>
> +config BR2_TOOLCHAIN_EXTERNAL_ARM_MUSL_CROSS
> + bool "Musl ARM toolchain"
> + depends on BR2_arm
> + depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Not related to this patch, but why don't we move this depends to a
global if?
> + select BR2_TOOLCHAIN_EXTERNAL_MUSL
> + select BR2_INSTALL_LIBSTDCPP
> + select BR2_HOSTARCH_NEEDS_IA32_LIBS
> + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
> + help
> + ARM toolchain based on the Musl C library, provided by the
> + musl-cross project. It uses gcc 4.8.2, binutils 2.24 and
> + musl 0.9.15. It does not have a cross debugger included. The
> + toolchain is built for ARMv4t, soft-float.
> +
> + http://musl.codu.org/
All this MUSL stuff looks exactly the same. Wouldn't it be possible to
have a single config option with a depends on BR2_arm || BR2_i386 || ... ?
Regards,
Arnout
> +
> +config BR2_TOOLCHAIN_EXTERNAL_X86_MUSL_CROSS
> + bool "Musl x86 toolchain"
> + # The toolchain is built for i486, so we exclude i386
> + depends on BR2_i386 && !BR2_x86_i386
> + depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
> + select BR2_TOOLCHAIN_EXTERNAL_MUSL
> + select BR2_INSTALL_LIBSTDCPP
> + select BR2_HOSTARCH_NEEDS_IA32_LIBS
> + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
> + help
> + x86 toolchain based on the Musl C library, provided by the
> + musl-cross project. It uses gcc 4.8.2, binutils 2.24 and
> + musl 0.9.15. It does not have a cross debugger included. The
> + toolchain is built for i486.
> +
> + http://musl.codu.org/
> +
> +config BR2_TOOLCHAIN_EXTERNAL_MICROBLAZE_MUSL_CROSS
> + bool "Musl Microblaze toolchain"
> + depends on BR2_microblaze
> + depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
> + select BR2_TOOLCHAIN_EXTERNAL_MUSL
> + select BR2_INSTALL_LIBSTDCPP
> + select BR2_HOSTARCH_NEEDS_IA32_LIBS
> + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
> + help
> + Microblaze toolchain based on the Musl C library, provided
> + by the musl-cross project. It uses gcc 4.8.2, binutils 2.24
> + and musl 0.9.15. It does not have a cross debugger
> + included.
> +
> + http://musl.codu.org/
[snip]
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] [PATCH 6/6] toolchain-external: add Linaro ARM big endian toolchain
2014-03-05 22:23 ` [Buildroot] [PATCH 6/6] toolchain-external: add Linaro ARM big endian toolchain Thomas Petazzoni
@ 2014-03-06 22:23 ` Peter Korsgaard
2014-03-06 22:30 ` Thomas Petazzoni
0 siblings, 1 reply; 13+ messages in thread
From: Peter Korsgaard @ 2014-03-06 22:23 UTC (permalink / raw)
To: buildroot
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
> Linaro has started to release ARM big endian toolchains, so we
> integrate this toolchain in the external toolchain logic of
> Buildroot. Since ARM big endian is probably going to be a lot more
> confidential than ARM little endian, we will only support one version
confidential? Do you mean 'specialized' or 'uncommon'?
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] [PATCH 6/6] toolchain-external: add Linaro ARM big endian toolchain
2014-03-06 22:23 ` Peter Korsgaard
@ 2014-03-06 22:30 ` Thomas Petazzoni
2014-03-06 22:41 ` Yann E. MORIN
0 siblings, 1 reply; 13+ messages in thread
From: Thomas Petazzoni @ 2014-03-06 22:30 UTC (permalink / raw)
To: buildroot
Dear Peter Korsgaard,
On Thu, 06 Mar 2014 23:23:47 +0100, Peter Korsgaard wrote:
> > Linaro has started to release ARM big endian toolchains, so we
> > integrate this toolchain in the external toolchain logic of
> > Buildroot. Since ARM big endian is probably going to be a lot more
> > confidential than ARM little endian, we will only support one version
>
> confidential? Do you mean 'specialized' or 'uncommon'?
Yes. In French "confidentiel" has two different meanings: it might mean
"secret", or when talking about the usage, it can mean "rarely". I'll
change to "uncommon", which is certainly better.
Thanks for the review!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] [PATCH 6/6] toolchain-external: add Linaro ARM big endian toolchain
2014-03-06 22:30 ` Thomas Petazzoni
@ 2014-03-06 22:41 ` Yann E. MORIN
0 siblings, 0 replies; 13+ messages in thread
From: Yann E. MORIN @ 2014-03-06 22:41 UTC (permalink / raw)
To: buildroot
Thomas, All,
On 2014-03-06 23:30 +0100, Thomas Petazzoni spake thusly:
> On Thu, 06 Mar 2014 23:23:47 +0100, Peter Korsgaard wrote:
> > > Linaro has started to release ARM big endian toolchains, so we
> > > integrate this toolchain in the external toolchain logic of
> > > Buildroot. Since ARM big endian is probably going to be a lot more
> > > confidential than ARM little endian, we will only support one version
> >
> > confidential? Do you mean 'specialized' or 'uncommon'?
>
> Yes. In French "confidentiel" has two different meanings: it might mean
> "secret", or when talking about the usage, it can mean "rarely". I'll
> change to "uncommon", which is certainly better.
In english, "confidential" has the same meaning. It's even the first
listed in the Merriam Webster:
http://www.merriam-webster.com/dictionary/confidential
1. marked by intimacy or willingness to confide
But agreed, "uncommon" is easier to grok.
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2014-03-06 22:41 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-05 22:23 [Buildroot] [PATCH 0/6] External toolchain updates Thomas Petazzoni
2014-03-05 22:23 ` [Buildroot] [PATCH 1/6] toolchain-external: fix musl external support on x86 Thomas Petazzoni
2014-03-06 7:09 ` Arnout Vandecappelle
2014-03-05 22:23 ` [Buildroot] [PATCH 2/6] toolchain-external: add publicly available musl toolchains Thomas Petazzoni
2014-03-06 7:17 ` Arnout Vandecappelle
2014-03-05 22:23 ` [Buildroot] [PATCH 3/6] toolchain-external: bump Linaro ARM toolchains Thomas Petazzoni
2014-03-05 22:23 ` [Buildroot] [PATCH 4/6] toolchain-external: remove useless info in help text of " Thomas Petazzoni
2014-03-05 22:39 ` Yann E. MORIN
2014-03-05 22:23 ` [Buildroot] [PATCH 5/6] toolchain-external: bump Linaro AArch64 toolchains Thomas Petazzoni
2014-03-05 22:23 ` [Buildroot] [PATCH 6/6] toolchain-external: add Linaro ARM big endian toolchain Thomas Petazzoni
2014-03-06 22:23 ` Peter Korsgaard
2014-03-06 22:30 ` Thomas Petazzoni
2014-03-06 22:41 ` Yann E. MORIN
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).