1 config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS
2 bool "Sourcery CodeBench MIPS 2016.05"
3 depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
4 depends on BR2_MIPS_CPU_MIPS32R2 || BR2_MIPS_CPU_MIPS64R2
5 # Unsupported MIPS cores
6 depends on !BR2_mips_interaptiv
7 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
8 depends on !BR2_MIPS_NABI32
9 depends on !BR2_STATIC_LIBS
10 select BR2_TOOLCHAIN_EXTERNAL_GLIBC
11 select BR2_TOOLCHAIN_HAS_SSP
12 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
13 select BR2_INSTALL_LIBSTDCPP
14 select BR2_HOSTARCH_NEEDS_IA32_LIBS
15 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4
16 select BR2_TOOLCHAIN_GCC_AT_LEAST_5
18 Sourcery CodeBench toolchain for the MIPS architecture, from
19 Mentor Graphics. It uses gcc 5.3, binutils 2.25.51, glibc
20 2.23, uClibc 0.9.30 and gdb 7.10.50, kernel headers 4.4.1. It
21 has support for the following variants:
22 - MIPS32r2 - Big-Endian, 2008 NaN, O32
23 Select MIPS (big endian) core
24 Disable BR2_SOFT_FLOAT
25 Set BR2_TARGET_OPTIMIZATION to -mnan=2008
26 - MIPS32r2 - Big-Endian, O32
27 Select MIPS (big endian) core
28 Disable BR2_SOFT_FLOAT
29 - MIPS32r2 - Big-Endian, O32, MIPS16
30 Select MIPS (big endian) core
31 Disable BR2_SOFT_FLOAT
32 Set BR2_TARGET_OPTIMIZATION to -mips16
33 - MIPS32r2 - Big-Endian, Soft-Float, O32
34 Select MIPS (big endian) core
36 - MIPS32r2 - Big-Endian, Soft-Float, O32, MIPS16
37 Select MIPS (big endian) core
39 Set BR2_TARGET_OPTIMIZATION to -mips16
40 - MIPS32r2 - Little-Endian, 2008 NaN, O32
41 Select MIPS (little endian) core
42 Disable BR2_SOFT_FLOAT
43 Set BR2_TARGET_OPTIMIZATION to -mnan=2008
44 - MIPS32r2 - Little-Endian, O32
45 Select MIPS (little endian) core
46 Disable BR2_SOFT_FLOAT
47 - MIPS32r2 - Little-Endian, O32, MIPS16
48 Select MIPS (little endian) core
49 Disable BR2_SOFT_FLOAT
50 Set BR2_TARGET_OPTIMIZATION to -mips16
51 - MIPS32r2 - Little-Endian, Soft-Float, O32
52 Select MIPS (little endian) core
54 - MIPS32r2 - Little-Endian, Soft-Float, O32, MIPS16
55 Select MIPS (little endian) core
57 Set BR2_TARGET_OPTIMIZATION to -mips16
58 - MIPS32r2 - Little-Endian, Soft-Float, O32, microMIPS
59 Select MIPS (little endian) core
61 Set BR2_TARGET_OPTIMIZATION to -mmicromips
62 - MIPS32r2 - uClibc, Big-Endian, 2008 NaN, O32
63 Not usable in Buildroot yet.
64 - MIPS32r2 - uClibc, Big-Endian, O32
65 Not usable in Buildroot yet.
66 - MIPS32r2 - uClibc, Big-Endian, Soft-Float, O32
67 Not usable in Buildroot yet.
68 - MIPS32r2 - uClibc, Little-Endian, 2008 NaN, O32
69 Not usable in Buildroot yet.
70 - MIPS32r2 - uClibc, Little-Endian, O32
71 Not usable in Buildroot yet.
72 - MIPS32r2 - uClibc, Little-Endian, Soft-Float, O32
73 Not usable in Buildroot yet.
74 - MIPS64r2 - Big-Endian, N64
75 Select MIPS64 (big endian) core
77 Disable BR2_SOFT_FLOAT
78 - MIPS64r2 - Big-Endian, Soft-Float, N64
79 Select MIPS64 (big endian) core
82 - MIPS64r2 - Little-Endian, N64
83 Select MIPS64 (little endian) core
85 Disable BR2_SOFT_FLOAT
86 - MIPS64r2 - Little-Endian, Soft-Float, N64
87 Select MIPS64 (little endian) core
91 comment "Sourcery CodeBench toolchains are only available for MIPS/MIPS64 o32 and n64"
92 depends on BR2_MIPS_NABI32
93 depends on !BR2_STATIC_LIBS