toolchain-external-codesourcery-amd64: new package
This commit adds a new package for the Sourcery CodeBench external toolchain for the AMD-64 architecture. The legacy implementation is removed. Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Reviewed-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
a3b686591c
commit
a66b8191f4
@@ -36,6 +36,9 @@ source "toolchain/toolchain-external/toolchain-external-codesourcery-niosII/Conf
|
||||
# SH4a
|
||||
source "toolchain/toolchain-external/toolchain-external-codesourcery-sh/Config.in"
|
||||
|
||||
# x86/x86_64 (use amd64 toolchain by default for AMD64)
|
||||
source "toolchain/toolchain-external/toolchain-external-codesourcery-amd64/Config.in"
|
||||
|
||||
config BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV7A
|
||||
bool "Arago ARMv7 2011.09"
|
||||
depends on BR2_arm
|
||||
@@ -81,31 +84,6 @@ config BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV5TE
|
||||
|
||||
This toolchain uses software-floating point.
|
||||
|
||||
config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AMD64
|
||||
bool "Sourcery CodeBench AMD64 2015.11"
|
||||
depends on BR2_x86_64
|
||||
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
|
||||
depends on !BR2_STATIC_LIBS
|
||||
depends on BR2_x86_jaguar || BR2_x86_steamroller
|
||||
select BR2_TOOLCHAIN_EXTERNAL_GLIBC
|
||||
select BR2_TOOLCHAIN_HAS_SSP
|
||||
select BR2_TOOLCHAIN_HAS_NATIVE_RPC
|
||||
select BR2_INSTALL_LIBSTDCPP
|
||||
select BR2_HOSTARCH_NEEDS_IA32_LIBS
|
||||
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
|
||||
select BR2_TOOLCHAIN_GCC_AT_LEAST_5
|
||||
help
|
||||
Sourcery CodeBench toolchain for the amd64 (x86_64)
|
||||
architectures, from Mentor Graphics. It uses gcc 5.2,
|
||||
binutils 2.25.51, glibc 2.22, gdb 7.10.50 and kernel headers
|
||||
4.2. It has support for the following variants:
|
||||
- AMD Puma/Jaguar (family 16h), glibc
|
||||
Default for x86_64, nothing special to do.
|
||||
- AMD Steamroller (family 15h), glibc
|
||||
Select a steamroller core.
|
||||
No other architecture variants are supported since glibc
|
||||
is optimized for one of these two baselines.
|
||||
|
||||
config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86
|
||||
bool "Sourcery CodeBench x86/x86_64 2012.09"
|
||||
depends on BR2_i386 || BR2_x86_64
|
||||
@@ -243,7 +221,6 @@ config BR2_TOOLCHAIN_EXTERNAL_PREFIX
|
||||
default "arm-arago-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV7A
|
||||
default "arm-arago-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV5TE
|
||||
default "i686-pc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86
|
||||
default "x86_64-amd-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AMD64
|
||||
default "arm-linux-musleabi" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_arm && BR2_ARM_EABI
|
||||
default "arm-linux-musleabihf" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_arm && BR2_ARM_EABIHF
|
||||
default "armeb-linux-musleabi" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_armeb
|
||||
@@ -309,6 +286,9 @@ source "toolchain/toolchain-external/toolchain-external-codesourcery-niosII/Conf
|
||||
# SH4a
|
||||
source "toolchain/toolchain-external/toolchain-external-codesourcery-sh/Config.in.options"
|
||||
|
||||
# x86/x86_64
|
||||
source "toolchain/toolchain-external/toolchain-external-codesourcery-amd64/Config.in.options"
|
||||
|
||||
if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
|
||||
|
||||
choice
|
||||
|
||||
Reference in New Issue
Block a user