1*4882a593Smuzhiyunconfig BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM
2*4882a593Smuzhiyun	bool "Sourcery CodeBench ARM 2014.05"
3*4882a593Smuzhiyun	depends on BR2_arm
4*4882a593Smuzhiyun	depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_4_9
5*4882a593Smuzhiyun	depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
6*4882a593Smuzhiyun	depends on BR2_ARM_EABI
7*4882a593Smuzhiyun	# Unsupported ARM cores
8*4882a593Smuzhiyun	depends on !BR2_cortex_a12 && !BR2_cortex_a17 && !BR2_ARM_CPU_ARMV8A
9*4882a593Smuzhiyun	depends on !BR2_STATIC_LIBS
10*4882a593Smuzhiyun	select BR2_TOOLCHAIN_EXTERNAL_GLIBC
11*4882a593Smuzhiyun	select BR2_TOOLCHAIN_HAS_SSP
12*4882a593Smuzhiyun	select BR2_TOOLCHAIN_HAS_NATIVE_RPC
13*4882a593Smuzhiyun	select BR2_INSTALL_LIBSTDCPP
14*4882a593Smuzhiyun	select BR2_HOSTARCH_NEEDS_IA32_LIBS
15*4882a593Smuzhiyun	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
16*4882a593Smuzhiyun	select BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
17*4882a593Smuzhiyun	help
18*4882a593Smuzhiyun	  Sourcery CodeBench toolchain for the ARM architecture, from
19*4882a593Smuzhiyun	  Mentor Graphics. It uses gcc 4.8.3, binutils 2.24.51, glibc
20*4882a593Smuzhiyun	  2.18 and gdb 7.7.50, kernel headers 3.13. It has support
21*4882a593Smuzhiyun	  for the following variants:
22*4882a593Smuzhiyun	    - ARMv5TE, little endian, soft-float, glibc
23*4882a593Smuzhiyun	      Select ARM926T, ARM10T, XScale or another ARMv5 core
24*4882a593Smuzhiyun	      Select BR2_SOFT_FLOAT
25*4882a593Smuzhiyun	    - ARMv4T, little endian, soft-float, glibc
26*4882a593Smuzhiyun	      Select ARM720T, ARM920T, ARM922T or another ARMv4 core
27*4882a593Smuzhiyun	      Select BR2_SOFT_FLOAT
28*4882a593Smuzhiyun	    - ARMv7-A, Thumb 2, little endian, soft-float, glibc
29*4882a593Smuzhiyun	      Select Cortex-A8, Cortex-A9 or another ARMv7-A core
30*4882a593Smuzhiyun	      Select BR2_SOFT_FLOAT
31*4882a593Smuzhiyun	      Set BR2_TARGET_OPTIMIZATION to -mthumb
32*4882a593Smuzhiyun
33*4882a593Smuzhiyuncomment "Sourcery CodeBench toolchains available for the EABI ABI"
34*4882a593Smuzhiyun	depends on BR2_arm
35*4882a593Smuzhiyun	depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_4_9
36*4882a593Smuzhiyun	depends on !BR2_ARM_EABI
37*4882a593Smuzhiyun	depends on !BR2_STATIC_LIBS
38