toolchain-external: add Arm ARM 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 ARM toolchain. Only x86_64 host are supported, so keep Linaro toolchain for x86 host. Tested with qemu_arm_vexpress_defconfig. [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:
parent
ef9f473752
commit
a98f7236c4
@ -1822,6 +1822,7 @@ F: package/tk/
|
||||
F: package/upower/
|
||||
F: package/waffle/
|
||||
F: package/xenomai/
|
||||
F: toolchain/toolchain-external/toolchain-external-arm-arm/
|
||||
|
||||
N: Roman Gorbenkov <roman.gorbenkov@ens2m.org>
|
||||
F: package/davfs2/
|
||||
|
@ -21,7 +21,8 @@ source "toolchain/toolchain-external/toolchain-external-linaro-aarch64-be/Config
|
||||
# ARC
|
||||
source "toolchain/toolchain-external/toolchain-external-synopsys-arc/Config.in"
|
||||
|
||||
# ARM (use Linaro toolchain by default)
|
||||
# ARM (use ARM toolchain by default)
|
||||
source "toolchain/toolchain-external/toolchain-external-arm-arm/Config.in"
|
||||
source "toolchain/toolchain-external/toolchain-external-linaro-arm/Config.in"
|
||||
source "toolchain/toolchain-external/toolchain-external-codesourcery-arm/Config.in"
|
||||
|
||||
@ -120,6 +121,7 @@ source "toolchain/toolchain-external/toolchain-external-linaro-aarch64-be/Config
|
||||
source "toolchain/toolchain-external/toolchain-external-synopsys-arc/Config.in.options"
|
||||
|
||||
# ARM
|
||||
source "toolchain/toolchain-external/toolchain-external-arm-arm/Config.in.options"
|
||||
source "toolchain/toolchain-external/toolchain-external-linaro-arm/Config.in.options"
|
||||
source "toolchain/toolchain-external/toolchain-external-codesourcery-arm/Config.in.options"
|
||||
|
||||
|
@ -0,0 +1,30 @@
|
||||
comment "Arm toolchains available for Cortex-A + EABIhf"
|
||||
depends on BR2_arm
|
||||
depends on !BR2_ARM_CPU_ARMV7A || !BR2_ARM_EABIHF
|
||||
depends on !BR2_STATIC_LIBS
|
||||
|
||||
config BR2_TOOLCHAIN_EXTERNAL_ARM_ARM
|
||||
bool "Arm ARM 2018.08"
|
||||
depends on BR2_arm
|
||||
depends on BR2_ARM_CPU_ARMV7A || BR2_ARM_CPU_ARMV8A
|
||||
depends on BR2_HOSTARCH = "x86_64"
|
||||
depends on BR2_ARM_EABIHF
|
||||
depends on !BR2_STATIC_LIBS
|
||||
select BR2_TOOLCHAIN_EXTERNAL_GLIBC
|
||||
select BR2_TOOLCHAIN_HAS_SSP
|
||||
select BR2_TOOLCHAIN_HAS_NATIVE_RPC
|
||||
select BR2_INSTALL_LIBSTDCPP
|
||||
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 ARM architecture. It uses GCC 8.2.1,
|
||||
GDB 8.1.1, glibc 2.28, Binutils 2.30. It generates code that
|
||||
runs on all Cortex-A profile devices, but tuned for the
|
||||
Cortex-A9. The code generated uses the hard floating point
|
||||
calling convention, and uses the VFPv3-D16 FPU instructions.
|
||||
|
||||
This is the same toolchain that was previously distributed by
|
||||
Linaro.
|
||||
|
||||
https://developer.arm.com/open-source/gnu-toolchain
|
@ -0,0 +1,9 @@
|
||||
if BR2_TOOLCHAIN_EXTERNAL_ARM_ARM
|
||||
|
||||
config BR2_TOOLCHAIN_EXTERNAL_PREFIX
|
||||
default "arm-linux-gnueabihf"
|
||||
|
||||
config BR2_PACKAGE_PROVIDES_TOOLCHAIN_EXTERNAL
|
||||
default "toolchain-external-arm-arm"
|
||||
|
||||
endif
|
@ -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-arm-linux-gnueabihf.tar.xz.asc
|
||||
md5 dc7455746d90259337fb88c3e67f8855 gcc-arm-8.2-2018.08-x86_64-arm-linux-gnueabihf.tar.xz
|
||||
# locally calculated
|
||||
sha256 5b3f20e1327edc3073e545a5bd3d15f33e7f94181ff4e37a76e95924c1b439b9 gcc-arm-8.2-2018.08-x86_64-arm-linux-gnueabihf.tar.xz
|
@ -0,0 +1,12 @@
|
||||
################################################################################
|
||||
#
|
||||
# toolchain-external-arm-arm
|
||||
#
|
||||
################################################################################
|
||||
|
||||
TOOLCHAIN_EXTERNAL_ARM_ARM_VERSION = 2018.08
|
||||
TOOLCHAIN_EXTERNAL_ARM_ARM_SITE = https://developer.arm.com/-/media/Files/downloads/gnu-a/8.2-$(TOOLCHAIN_EXTERNAL_ARM_ARM_VERSION)
|
||||
|
||||
TOOLCHAIN_EXTERNAL_ARM_ARM_SOURCE = gcc-arm-8.2-$(TOOLCHAIN_EXTERNAL_ARM_ARM_VERSION)-x86_64-arm-linux-gnueabihf.tar.xz
|
||||
|
||||
$(eval $(toolchain-external-package))
|
Loading…
Reference in New Issue
Block a user