mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
comment "Linaro 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_LINARO_ARM
|
||||
bool "Linaro ARM 2018.05"
|
||||
depends on BR2_arm
|
||||
depends on BR2_ARM_CPU_ARMV7A || BR2_ARM_CPU_ARMV8A
|
||||
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
|
||||
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_10
|
||||
select BR2_TOOLCHAIN_GCC_AT_LEAST_7
|
||||
select BR2_TOOLCHAIN_HAS_FORTRAN
|
||||
select BR2_TOOLCHAIN_HAS_OPENMP
|
||||
help
|
||||
Linaro toolchain for the ARM architecture. It uses Linaro
|
||||
GCC 2018.05 (based on gcc 7.3.1), Linaro GDB 2018.05 (based on
|
||||
GDB 8.1), glibc 2.25, Binutils 2018.05 (based on 2.28). 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.
|
||||
@@ -0,0 +1,9 @@
|
||||
if BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM
|
||||
|
||||
config BR2_TOOLCHAIN_EXTERNAL_PREFIX
|
||||
default "arm-linux-gnueabihf"
|
||||
|
||||
config BR2_PACKAGE_PROVIDES_TOOLCHAIN_EXTERNAL
|
||||
default "toolchain-external-linaro-arm"
|
||||
|
||||
endif
|
||||
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 0613b5be14eb7d50a772bbd72069c428558e6e53fa5fce7201d75a13a475ffff gcc-linaro-7.3.1-2018.05-i686_arm-linux-gnueabihf.tar.xz
|
||||
sha256 7248bf105d0d468887a9b8a7120bb281ac8ad0223d9cb3d00dc7c2d498485d91 gcc-linaro-7.3.1-2018.05-x86_64_arm-linux-gnueabihf.tar.xz
|
||||
@@ -0,0 +1,16 @@
|
||||
################################################################################
|
||||
#
|
||||
# toolchain-external-linaro-arm
|
||||
#
|
||||
################################################################################
|
||||
|
||||
TOOLCHAIN_EXTERNAL_LINARO_ARM_VERSION = 2018.05
|
||||
TOOLCHAIN_EXTERNAL_LINARO_ARM_SITE = https://releases.linaro.org/components/toolchain/binaries/7.3-$(TOOLCHAIN_EXTERNAL_LINARO_ARM_VERSION)/arm-linux-gnueabihf
|
||||
|
||||
ifeq ($(HOSTARCH),x86)
|
||||
TOOLCHAIN_EXTERNAL_LINARO_ARM_SOURCE = gcc-linaro-7.3.1-$(TOOLCHAIN_EXTERNAL_LINARO_ARM_VERSION)-i686_arm-linux-gnueabihf.tar.xz
|
||||
else
|
||||
TOOLCHAIN_EXTERNAL_LINARO_ARM_SOURCE = gcc-linaro-7.3.1-$(TOOLCHAIN_EXTERNAL_LINARO_ARM_VERSION)-x86_64_arm-linux-gnueabihf.tar.xz
|
||||
endif
|
||||
|
||||
$(eval $(toolchain-external-package))
|
||||
Reference in New Issue
Block a user