toolchain-external: add Arm AArch64-BE toolchain 8.2-2018.08

This is the same toolchain that was previously distributed by Linaro. [1]

Switch default toolchain as this toolchain supersed the Linaro AArch64-BE toolchain.
Only x86_64 host are supported, so keep Linaro toolchain for x86 host.

[1] https://developer.arm.com/open-source/gnu-toolchain/gnu-a/downloads

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Romain Naour 2018-10-09 22:07:02 +02:00 committed by Thomas Petazzoni
parent d74c133ad5
commit d1b99023b9
6 changed files with 48 additions and 0 deletions

View File

@ -1823,6 +1823,7 @@ F: package/upower/
F: package/waffle/
F: package/xenomai/
F: toolchain/toolchain-external/toolchain-external-arm-aarch64/
F: toolchain/toolchain-external/toolchain-external-arm-aarch64-be/
F: toolchain/toolchain-external/toolchain-external-arm-arm/
N: Roman Gorbenkov <roman.gorbenkov@ens2m.org>

View File

@ -17,6 +17,7 @@ source "toolchain/toolchain-external/toolchain-external-linaro-aarch64/Config.in
source "toolchain/toolchain-external/toolchain-external-codesourcery-aarch64/Config.in"
# Aarch64 big-endian
source "toolchain/toolchain-external/toolchain-external-arm-aarch64-be/Config.in"
source "toolchain/toolchain-external/toolchain-external-linaro-aarch64-be/Config.in"
# ARC
@ -117,6 +118,7 @@ source "toolchain/toolchain-external/toolchain-external-linaro-aarch64/Config.in
source "toolchain/toolchain-external/toolchain-external-codesourcery-aarch64/Config.in.options"
# Aarch64 big-endian
source "toolchain/toolchain-external/toolchain-external-arm-aarch64-be/Config.in.options"
source "toolchain/toolchain-external/toolchain-external-linaro-aarch64-be/Config.in.options"
# ARC

View File

@ -0,0 +1,19 @@
config BR2_TOOLCHAIN_EXTERNAL_ARM_AARCH64_BE
bool "Arm AArch64 BE 2018.08"
depends on BR2_aarch64_be
depends on BR2_HOSTARCH = "x86_64"
depends on !BR2_STATIC_LIBS
select BR2_TOOLCHAIN_EXTERNAL_GLIBC
select BR2_TOOLCHAIN_HAS_SSP
select BR2_INSTALL_LIBSTDCPP
select BR2_TOOLCHAIN_HAS_NATIVE_RPC
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_18
select BR2_TOOLCHAIN_GCC_AT_LEAST_8
select BR2_TOOLCHAIN_HAS_FORTRAN
help
Arm toolchain for the AArch64 Big Endian architecture.
This is the same toolchain that was previously distributed by
Linaro.
https://developer.arm.com/open-source/gnu-toolchain

View File

@ -0,0 +1,9 @@
if BR2_TOOLCHAIN_EXTERNAL_ARM_AARCH64_BE
config BR2_TOOLCHAIN_EXTERNAL_PREFIX
default "aarch64_be-linux-gnu"
config BR2_PACKAGE_PROVIDES_TOOLCHAIN_EXTERNAL
default "toolchain-external-arm-aarch64-be"
endif

View File

@ -0,0 +1,4 @@
# From https://developer.arm.com/-/media/Files/downloads/gnu-a/8.2-2018.08/gcc-arm-8.2-2018.08-x86_64-aarch64_be-linux-gnu.tar.xz.asc
md5 789171dc11bc2e37e90ea3c6de46c719 gcc-arm-8.2-2018.08-x86_64-aarch64_be-linux-gnu.tar.xz
# locally calculated
sha256 2cd8a1a35a892db5f0cd738a8b17bd1563f6d6e4be43a2b527b355bcfb295df8 gcc-arm-8.2-2018.08-x86_64-aarch64_be-linux-gnu.tar.xz

View File

@ -0,0 +1,13 @@
################################################################################
#
# toolchain-external-arm-aarch64-be
#
################################################################################
TOOLCHAIN_EXTERNAL_ARM_AARCH64_BE_VERSION = 2018.08
TOOLCHAIN_EXTERNAL_ARM_AARCH64_BE_SITE = https://developer.arm.com/-/media/Files/downloads/gnu-a/8.2-$(TOOLCHAIN_EXTERNAL_ARM_AARCH64_BE_VERSION)
TOOLCHAIN_EXTERNAL_ARM_AARCH64_BE_SOURCE = gcc-arm-8.2-$(TOOLCHAIN_EXTERNAL_ARM_AARCH64_BE_VERSION)-x86_64-aarch64_be-linux-gnu.tar.xz
$(eval $(toolchain-external-package))