Bernhard Reutner-Fischer | 4b0d5a8 | 2007-09-26 21:12:38 +0000 | [diff] [blame] | 1 | if BR2_TOOLCHAIN_EXTERNAL |
"Steven J. Hill" | 02f71aa | 2007-02-06 18:19:38 +0000 | [diff] [blame] | 2 | |
Thomas Petazzoni | 6c492d5 | 2010-12-13 17:27:39 +0100 | [diff] [blame] | 3 | choice |
| 4 | prompt "Toolchain" |
| 5 | |
Thomas Petazzoni | ed3f3e4 | 2013-11-11 18:57:32 +0100 | [diff] [blame] | 6 | comment "(e)glibc toolchains only available with shared lib support" |
Thomas Petazzoni | 665e13c | 2014-12-03 22:41:29 +0100 | [diff] [blame] | 7 | depends on BR2_STATIC_LIBS |
Thomas Petazzoni | ed3f3e4 | 2013-11-11 18:57:32 +0100 | [diff] [blame] | 8 | |
Yann E. MORIN | 87785ec | 2015-09-20 23:45:49 +0200 | [diff] [blame] | 9 | comment "Linaro toolchains available for Cortex-A + EABIhf" |
| 10 | depends on BR2_arm || BR2_armeb |
| 11 | depends on !BR2_ARM_CPU_ARMV7A || !BR2_ARM_EABIHF |
| 12 | depends on !BR2_STATIC_LIBS |
| 13 | |
Yann E. MORIN | 9b3b98b | 2015-10-27 00:49:39 +0100 | [diff] [blame] | 14 | # Note: we use the same symbol for both Linaro toolchains. |
| 15 | # Since they have different dependencies (the host), we can |
| 16 | # give them different prompts and different help texts. |
Thomas Petazzoni | be2abf2 | 2014-06-01 12:47:40 +0200 | [diff] [blame] | 17 | config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM |
Thomas Petazzoni | 28bca1c | 2014-11-10 11:06:31 +0100 | [diff] [blame] | 18 | bool "Linaro ARM 2014.09" |
Thomas Petazzoni | 34562ee | 2013-12-27 12:32:19 +0100 | [diff] [blame] | 19 | depends on BR2_arm |
Thomas Petazzoni | 29f6806 | 2014-10-21 22:27:06 +0200 | [diff] [blame] | 20 | depends on BR2_ARM_CPU_ARMV7A |
Yann E. MORIN | 9b3b98b | 2015-10-27 00:49:39 +0100 | [diff] [blame] | 21 | depends on BR2_HOSTARCH = "x86" |
Thomas Petazzoni | 34562ee | 2013-12-27 12:32:19 +0100 | [diff] [blame] | 22 | depends on BR2_ARM_EABIHF |
Thomas Petazzoni | 665e13c | 2014-12-03 22:41:29 +0100 | [diff] [blame] | 23 | depends on !BR2_STATIC_LIBS |
Thomas Petazzoni | 34562ee | 2013-12-27 12:32:19 +0100 | [diff] [blame] | 24 | select BR2_TOOLCHAIN_EXTERNAL_GLIBC |
| 25 | select BR2_TOOLCHAIN_HAS_NATIVE_RPC |
| 26 | select BR2_INSTALL_LIBSTDCPP |
Yann E. MORIN | b6f321b | 2014-03-01 15:52:58 +0100 | [diff] [blame] | 27 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1 |
Thomas Petazzoni | bd760c3 | 2015-08-04 20:00:35 +0200 | [diff] [blame] | 28 | select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 |
Thomas Petazzoni | 34562ee | 2013-12-27 12:32:19 +0100 | [diff] [blame] | 29 | help |
| 30 | Linaro toolchain for the ARM architecture. It uses Linaro |
Thomas Petazzoni | 28bca1c | 2014-11-10 11:06:31 +0100 | [diff] [blame] | 31 | GCC 2014.09 (based on gcc 4.9), Linaro GDB 2013.10 (based on |
| 32 | GDB 7.6), eglibc 2.19, Binutils 2014.09 (based on 2.24). It |
Thomas Petazzoni | 34562ee | 2013-12-27 12:32:19 +0100 | [diff] [blame] | 33 | generates code that runs on all Cortex-A profile devices, |
| 34 | but tuned for the Cortex-A9. The code generated is Thumb 2, |
| 35 | with the hard floating point calling convention, and uses |
| 36 | the VFPv3-D16 FPU instructions. |
| 37 | |
Yann E. MORIN | 9b3b98b | 2015-10-27 00:49:39 +0100 | [diff] [blame] | 38 | # See the note above. |
| 39 | config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM |
| 40 | bool "Linaro ARM 2015.08" |
| 41 | depends on BR2_arm |
| 42 | depends on BR2_ARM_CPU_ARMV7A |
| 43 | depends on BR2_HOSTARCH = "x86_64" |
| 44 | depends on BR2_ARM_EABIHF |
| 45 | depends on !BR2_STATIC_LIBS |
| 46 | select BR2_TOOLCHAIN_EXTERNAL_GLIBC |
| 47 | select BR2_TOOLCHAIN_HAS_NATIVE_RPC |
| 48 | select BR2_INSTALL_LIBSTDCPP |
| 49 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0 |
| 50 | select BR2_TOOLCHAIN_GCC_AT_LEAST_5 |
| 51 | help |
| 52 | Linaro toolchain for the ARM architecture. It uses Linaro |
| 53 | GCC 2015.08 (based on gcc 5.1), Linaro GDB 2015.08 (based on |
| 54 | GDB 7.10), glibc 2.21, Binutils 2015.10 (based on 2.25). It |
| 55 | generates code that runs on all Cortex-A profile devices, |
| 56 | but tuned for the Cortex-A9. The code generated is Thumb 2, |
| 57 | with the hard floating point calling convention, and uses |
| 58 | the VFPv3-D16 FPU instructions. |
| 59 | |
Yann E. MORIN | 997ef60 | 2015-10-27 00:49:40 +0100 | [diff] [blame] | 60 | # See the note above. |
Thomas Petazzoni | cd32da8 | 2014-03-05 23:23:40 +0100 | [diff] [blame] | 61 | config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB |
Thomas Petazzoni | 28bca1c | 2014-11-10 11:06:31 +0100 | [diff] [blame] | 62 | bool "Linaro armeb 2014.09" |
Thomas Petazzoni | cd32da8 | 2014-03-05 23:23:40 +0100 | [diff] [blame] | 63 | depends on BR2_armeb |
Thomas Petazzoni | 29f6806 | 2014-10-21 22:27:06 +0200 | [diff] [blame] | 64 | depends on BR2_ARM_CPU_ARMV7A |
Yann E. MORIN | 997ef60 | 2015-10-27 00:49:40 +0100 | [diff] [blame] | 65 | depends on BR2_HOSTARCH = "x86" |
Thomas Petazzoni | cd32da8 | 2014-03-05 23:23:40 +0100 | [diff] [blame] | 66 | depends on BR2_ARM_EABIHF |
Thomas Petazzoni | 665e13c | 2014-12-03 22:41:29 +0100 | [diff] [blame] | 67 | depends on !BR2_STATIC_LIBS |
Thomas Petazzoni | cd32da8 | 2014-03-05 23:23:40 +0100 | [diff] [blame] | 68 | select BR2_TOOLCHAIN_EXTERNAL_GLIBC |
| 69 | select BR2_TOOLCHAIN_HAS_NATIVE_RPC |
| 70 | select BR2_INSTALL_LIBSTDCPP |
Thomas Petazzoni | cd32da8 | 2014-03-05 23:23:40 +0100 | [diff] [blame] | 71 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1 |
Thomas Petazzoni | bd760c3 | 2015-08-04 20:00:35 +0200 | [diff] [blame] | 72 | select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 |
Thomas Petazzoni | cd32da8 | 2014-03-05 23:23:40 +0100 | [diff] [blame] | 73 | help |
| 74 | Linaro toolchain for the ARM big endian architecture. It |
Thomas Petazzoni | 28bca1c | 2014-11-10 11:06:31 +0100 | [diff] [blame] | 75 | uses Linaro GCC 2014.09 (based on gcc 4.9), Linaro GDB |
| 76 | 2013.10 (based on GDB 7.6), eglibc 2.19, Binutils 2014.09 |
Thomas Petazzoni | cd32da8 | 2014-03-05 23:23:40 +0100 | [diff] [blame] | 77 | (based on 2.24). It generates code that runs on all Cortex-A |
| 78 | profile devices, but tuned for the Cortex-A9. The code |
| 79 | generated is Thumb 2, with the hard floating point calling |
| 80 | convention, and uses the VFPv3-D16 FPU instructions. |
| 81 | |
Yann E. MORIN | 997ef60 | 2015-10-27 00:49:40 +0100 | [diff] [blame] | 82 | # See the note above. |
| 83 | config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB |
| 84 | bool "Linaro armeb 2015.08" |
| 85 | depends on BR2_armeb |
| 86 | depends on BR2_ARM_CPU_ARMV7A |
| 87 | depends on BR2_HOSTARCH = "x86_64" |
| 88 | depends on BR2_ARM_EABIHF |
| 89 | depends on !BR2_STATIC_LIBS |
| 90 | select BR2_TOOLCHAIN_EXTERNAL_GLIBC |
| 91 | select BR2_TOOLCHAIN_HAS_NATIVE_RPC |
| 92 | select BR2_INSTALL_LIBSTDCPP |
| 93 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0 |
| 94 | select BR2_TOOLCHAIN_GCC_AT_LEAST_5 |
| 95 | help |
| 96 | Linaro toolchain for the ARM big endian architecture. It |
| 97 | uses Linaro GCC 2015.08 (based on gcc 5.1), Linaro GDB |
| 98 | 2015.08 (based on GDB 7.10), glibc 2.21, Binutils 2015.10 |
| 99 | (based on 2.25). It generates code that runs on all Cortex-A |
| 100 | profile devices, but tuned for the Cortex-A9. The code |
| 101 | generated is Thumb 2, with the hard floating point calling |
| 102 | convention, and uses the VFPv3-D16 FPU instructions. |
| 103 | |
Thomas Petazzoni | 93f3c04 | 2014-09-15 23:49:35 +0200 | [diff] [blame] | 104 | config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201405 |
| 105 | bool "Sourcery CodeBench ARM 2014.05" |
| 106 | depends on BR2_arm |
| 107 | depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" |
| 108 | depends on BR2_ARM_EABI |
Thomas Petazzoni | 665e13c | 2014-12-03 22:41:29 +0100 | [diff] [blame] | 109 | depends on !BR2_STATIC_LIBS |
Thomas Petazzoni | 93f3c04 | 2014-09-15 23:49:35 +0200 | [diff] [blame] | 110 | select BR2_TOOLCHAIN_EXTERNAL_GLIBC |
| 111 | select BR2_TOOLCHAIN_HAS_NATIVE_RPC |
| 112 | select BR2_INSTALL_LIBSTDCPP |
| 113 | select BR2_HOSTARCH_NEEDS_IA32_LIBS |
| 114 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13 |
Thomas Petazzoni | bd760c3 | 2015-08-04 20:00:35 +0200 | [diff] [blame] | 115 | select BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 |
Thomas Petazzoni | 93f3c04 | 2014-09-15 23:49:35 +0200 | [diff] [blame] | 116 | help |
| 117 | Sourcery CodeBench toolchain for the ARM architecture, from |
| 118 | Mentor Graphics. It uses gcc 4.8.3, binutils 2.24.51, glibc |
| 119 | 2.18 and gdb 7.7.50, kernel headers 3.13. It has support |
| 120 | for the following variants: |
| 121 | - ARMv5TE, little endian, soft-float, glibc |
| 122 | Select ARM926T, ARM10T, XScale or another ARMv5 core |
| 123 | Select BR2_SOFT_FLOAT |
| 124 | - ARMv4T, little endian, soft-float, glibc |
| 125 | Select ARM720T, ARM920T, ARM922T or another ARMv4 core |
| 126 | Select BR2_SOFT_FLOAT |
| 127 | - ARMv7-A, Thumb 2, little endian, soft-float, glibc |
| 128 | Select Cortex-A8, Cortex-A9 or another ARMv7-A core |
| 129 | Select BR2_SOFT_FLOAT |
| 130 | Set BR2_TARGET_OPTIMIZATION to -mthumb |
| 131 | |
Thomas Petazzoni | c525231 | 2013-12-27 12:32:17 +0100 | [diff] [blame] | 132 | config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201311 |
| 133 | bool "Sourcery CodeBench ARM 2013.11" |
| 134 | depends on BR2_arm |
| 135 | depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" |
| 136 | depends on BR2_ARM_EABI |
Thomas Petazzoni | 665e13c | 2014-12-03 22:41:29 +0100 | [diff] [blame] | 137 | depends on !BR2_STATIC_LIBS |
Thomas Petazzoni | be4f30a | 2014-04-13 21:58:57 +0200 | [diff] [blame] | 138 | select BR2_TOOLCHAIN_HAS_GCC_BUG_58595 # based-on gcc-4.8.1 |
Samuel Martin | a1a86eb | 2014-03-08 15:38:31 +0100 | [diff] [blame] | 139 | select BR2_TOOLCHAIN_HAS_GCC_BUG_58854 # based-on gcc-4.8.1 |
Thomas Petazzoni | c525231 | 2013-12-27 12:32:17 +0100 | [diff] [blame] | 140 | select BR2_TOOLCHAIN_EXTERNAL_GLIBC |
| 141 | select BR2_TOOLCHAIN_HAS_NATIVE_RPC |
| 142 | select BR2_INSTALL_LIBSTDCPP |
| 143 | select BR2_HOSTARCH_NEEDS_IA32_LIBS |
Yann E. MORIN | b6f321b | 2014-03-01 15:52:58 +0100 | [diff] [blame] | 144 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11 |
Thomas Petazzoni | bd760c3 | 2015-08-04 20:00:35 +0200 | [diff] [blame] | 145 | select BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 |
Thomas Petazzoni | c525231 | 2013-12-27 12:32:17 +0100 | [diff] [blame] | 146 | help |
| 147 | Sourcery CodeBench toolchain for the ARM architecture, from |
| 148 | Mentor Graphics. It uses gcc 4.8.1, binutils 2.23.52, glibc |
| 149 | 2.18 and gdb 7.6.50, kernel headers 3.11. It has support |
| 150 | for the following variants: |
| 151 | - ARMv5TE, little endian, soft-float, glibc |
| 152 | Select ARM926T, ARM10T, XScale or another ARMv5 core |
| 153 | Select BR2_SOFT_FLOAT |
| 154 | - ARMv4T, little endian, soft-float, glibc |
| 155 | Select ARM720T, ARM920T, ARM922T or another ARMv4 core |
| 156 | Select BR2_SOFT_FLOAT |
| 157 | - ARMv7-A, Thumb 2, little endian, soft-float, glibc |
| 158 | Select Cortex-A8, Cortex-A9 or another ARMv7-A core |
| 159 | Select BR2_SOFT_FLOAT |
| 160 | Set BR2_TARGET_OPTIMIZATION to -mthumb |
| 161 | |
Fabio Porcedda | 786700e | 2013-05-26 12:08:19 +0000 | [diff] [blame] | 162 | config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201305 |
| 163 | bool "Sourcery CodeBench ARM 2013.05" |
| 164 | depends on BR2_arm |
| 165 | depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" |
Thomas Petazzoni | ea6b277 | 2013-07-16 10:03:20 +0200 | [diff] [blame] | 166 | depends on BR2_ARM_EABI |
Thomas Petazzoni | 665e13c | 2014-12-03 22:41:29 +0100 | [diff] [blame] | 167 | depends on !BR2_STATIC_LIBS |
Thomas Petazzoni | 85082ca | 2014-05-12 23:10:35 +0200 | [diff] [blame] | 168 | select BR2_TOOLCHAIN_HAS_GCC_BUG_58595 # based-on gcc-4.7.3 |
Fabio Porcedda | 786700e | 2013-05-26 12:08:19 +0000 | [diff] [blame] | 169 | select BR2_TOOLCHAIN_EXTERNAL_GLIBC |
| 170 | select BR2_TOOLCHAIN_HAS_NATIVE_RPC |
| 171 | select BR2_INSTALL_LIBSTDCPP |
| 172 | select BR2_HOSTARCH_NEEDS_IA32_LIBS |
Yann E. MORIN | b6f321b | 2014-03-01 15:52:58 +0100 | [diff] [blame] | 173 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8 |
Thomas Petazzoni | bd760c3 | 2015-08-04 20:00:35 +0200 | [diff] [blame] | 174 | select BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 |
Fabio Porcedda | 786700e | 2013-05-26 12:08:19 +0000 | [diff] [blame] | 175 | help |
| 176 | Sourcery CodeBench toolchain for the ARM architecture, from |
| 177 | Mentor Graphics. It uses gcc 4.7.3, binutils 2.23.52, glibc |
| 178 | 2.17 and gdb 7.4.50, kernel headers 3.8.2. It has support |
| 179 | for the following variants: |
| 180 | - ARMv5TE, little endian, soft-float, glibc |
| 181 | Select ARM926T, ARM10T, XScale or another ARMv5 core |
| 182 | Select BR2_SOFT_FLOAT |
| 183 | - ARMv4T, little endian, soft-float, glibc |
| 184 | Select ARM720T, ARM920T, ARM922T or another ARMv4 core |
| 185 | Select BR2_SOFT_FLOAT |
| 186 | - ARMv7-A, Thumb 2, little endian, soft-float, glibc |
| 187 | Select Cortex-A8, Cortex-A9 or another ARMv7-A core |
| 188 | Select BR2_SOFT_FLOAT |
| 189 | Set BR2_TARGET_OPTIMIZATION to -mthumb |
| 190 | |
Thomas Petazzoni | ea6b277 | 2013-07-16 10:03:20 +0200 | [diff] [blame] | 191 | comment "Sourcery CodeBench toolchains available for the EABI ABI" |
| 192 | depends on BR2_arm |
| 193 | depends on !BR2_ARM_EABI |
Thomas Petazzoni | 665e13c | 2014-12-03 22:41:29 +0100 | [diff] [blame] | 194 | depends on !BR2_STATIC_LIBS |
Thomas Petazzoni | ea6b277 | 2013-07-16 10:03:20 +0200 | [diff] [blame] | 195 | |
Thomas Petazzoni | 93d2b24 | 2013-06-08 11:14:17 +0200 | [diff] [blame] | 196 | config BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV7A_201109 |
| 197 | bool "Arago ARMv7 2011.09" |
| 198 | depends on BR2_arm |
| 199 | depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" |
Thomas Petazzoni | 29f6806 | 2014-10-21 22:27:06 +0200 | [diff] [blame] | 200 | depends on BR2_ARM_CPU_ARMV7A |
Thomas Petazzoni | ea6b277 | 2013-07-16 10:03:20 +0200 | [diff] [blame] | 201 | depends on BR2_ARM_EABI |
| 202 | depends on BR2_ARM_CPU_HAS_VFPV3 || BR2_ARM_CPU_MAYBE_HAS_VFPV3 |
Thomas Petazzoni | 665e13c | 2014-12-03 22:41:29 +0100 | [diff] [blame] | 203 | depends on !BR2_STATIC_LIBS |
Thomas Petazzoni | 93d2b24 | 2013-06-08 11:14:17 +0200 | [diff] [blame] | 204 | select BR2_TOOLCHAIN_EXTERNAL_GLIBC |
| 205 | select BR2_TOOLCHAIN_HAS_NATIVE_RPC |
| 206 | select BR2_INSTALL_LIBSTDCPP |
| 207 | select BR2_HOSTARCH_NEEDS_IA32_LIBS |
Thomas Petazzoni | bd760c3 | 2015-08-04 20:00:35 +0200 | [diff] [blame] | 208 | select BR2_TOOLCHAIN_GCC_AT_LEAST_4_5 |
Yann E. MORIN | b6f321b | 2014-03-01 15:52:58 +0100 | [diff] [blame] | 209 | # kernel headers: 2.6.31 |
Thomas Petazzoni | 93d2b24 | 2013-06-08 11:14:17 +0200 | [diff] [blame] | 210 | help |
| 211 | Texas Instruments Arago 2011.09 toolchain, with gcc 4.5.3, |
| 212 | binutils 2.20.1, glibc 2.12, gdb 7.2. |
| 213 | |
Thomas Petazzoni | ea6b277 | 2013-07-16 10:03:20 +0200 | [diff] [blame] | 214 | This toolchain uses -mfloat-abi=softfp (i.e can use FPU |
| 215 | instructions, but passes floating point function arguments |
| 216 | in integer registers), and requires a VFPv3 floating point |
| 217 | unit to work properly. This unit is available on most |
| 218 | Cortex-A ARM processors, but not all. |
Thomas Petazzoni | 93d2b24 | 2013-06-08 11:14:17 +0200 | [diff] [blame] | 219 | |
Thomas Petazzoni | 2592f25 | 2013-06-08 11:14:18 +0200 | [diff] [blame] | 220 | config BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV5TE_201109 |
| 221 | bool "Arago ARMv5 2011.09" |
| 222 | depends on BR2_arm |
| 223 | depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" |
Thomas Petazzoni | 29f6806 | 2014-10-21 22:27:06 +0200 | [diff] [blame] | 224 | depends on !BR2_ARM_CPU_ARMV4 |
Thomas Petazzoni | ea6b277 | 2013-07-16 10:03:20 +0200 | [diff] [blame] | 225 | depends on BR2_ARM_EABI |
Thomas Petazzoni | 665e13c | 2014-12-03 22:41:29 +0100 | [diff] [blame] | 226 | depends on !BR2_STATIC_LIBS |
Thomas Petazzoni | 2592f25 | 2013-06-08 11:14:18 +0200 | [diff] [blame] | 227 | select BR2_TOOLCHAIN_EXTERNAL_GLIBC |
| 228 | select BR2_TOOLCHAIN_HAS_NATIVE_RPC |
| 229 | select BR2_INSTALL_LIBSTDCPP |
| 230 | select BR2_HOSTARCH_NEEDS_IA32_LIBS |
Thomas Petazzoni | bd760c3 | 2015-08-04 20:00:35 +0200 | [diff] [blame] | 231 | select BR2_TOOLCHAIN_GCC_AT_LEAST_4_5 |
Yann E. MORIN | b6f321b | 2014-03-01 15:52:58 +0100 | [diff] [blame] | 232 | # kernel headers: 2.6.31 |
Thomas Petazzoni | 2592f25 | 2013-06-08 11:14:18 +0200 | [diff] [blame] | 233 | help |
| 234 | Texas Instruments Arago ARMv5 2011.09 toolchain, with gcc |
| 235 | 4.5.3, binutils 2.20.1, glibc 2.12, gdb 7.2. |
| 236 | |
| 237 | This toolchain uses software-floating point. |
| 238 | |
Romain Naour | d9306ad | 2015-11-21 17:36:19 +0100 | [diff] [blame^] | 239 | config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS |
Vicente Olivert Riera | 9f4ec37 | 2015-06-04 17:03:43 +0100 | [diff] [blame] | 240 | bool "Sourcery CodeBench MIPS 2015.05" |
| 241 | depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el |
Vicente Olivert Riera | 99f8084 | 2015-10-16 17:00:01 +0100 | [diff] [blame] | 242 | depends on BR2_mips_32r2 || BR2_mips_64r2 |
Vicente Olivert Riera | 9f4ec37 | 2015-06-04 17:03:43 +0100 | [diff] [blame] | 243 | depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" |
| 244 | depends on !BR2_MIPS_NABI32 |
| 245 | depends on !BR2_STATIC_LIBS |
| 246 | select BR2_TOOLCHAIN_EXTERNAL_GLIBC |
| 247 | select BR2_TOOLCHAIN_HAS_NATIVE_RPC |
| 248 | select BR2_INSTALL_LIBSTDCPP |
| 249 | select BR2_HOSTARCH_NEEDS_IA32_LIBS |
| 250 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19 |
Thomas Petazzoni | bd760c3 | 2015-08-04 20:00:35 +0200 | [diff] [blame] | 251 | select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 |
Vicente Olivert Riera | 9f4ec37 | 2015-06-04 17:03:43 +0100 | [diff] [blame] | 252 | help |
| 253 | Sourcery CodeBench toolchain for the MIPS architecture, from |
| 254 | Mentor Graphics. It uses gcc 4.9.2, binutils 2.24.51, glibc |
| 255 | 2.21, uClibc 0.9.30 and gdb 7.7.50, kernel headers 3.19. It |
| 256 | has support for the following variants: |
| 257 | - MIPS32r2 - Big-Endian, 2008 NaN, O32 |
| 258 | Select MIPS (big endian) core |
| 259 | Disable BR2_SOFT_FLOAT |
| 260 | Set BR2_TARGET_OPTIMIZATION to -mnan=2008 |
| 261 | - MIPS32r2 - Big-Endian, O32 |
| 262 | Select MIPS (big endian) core |
| 263 | Disable BR2_SOFT_FLOAT |
| 264 | - MIPS32r2 - Big-Endian, O32, MIPS16 |
| 265 | Select MIPS (big endian) core |
| 266 | Disable BR2_SOFT_FLOAT |
| 267 | Set BR2_TARGET_OPTIMIZATION to -mips16 |
| 268 | - MIPS32r2 - Big-Endian, Soft-Float, O32 |
| 269 | Select MIPS (big endian) core |
| 270 | Select BR2_SOFT_FLOAT |
| 271 | - MIPS32r2 - Big-Endian, Soft-Float, O32, MIPS16 |
| 272 | Select MIPS (big endian) core |
| 273 | Select BR2_SOFT_FLOAT |
| 274 | Set BR2_TARGET_OPTIMIZATION to -mips16 |
| 275 | - MIPS32r2 - Little-Endian, 2008 NaN, O32 |
| 276 | Select MIPS (little endian) core |
| 277 | Disable BR2_SOFT_FLOAT |
| 278 | Set BR2_TARGET_OPTIMIZATION to -mnan=2008 |
| 279 | - MIPS32r2 - Little-Endian, O32 |
| 280 | Select MIPS (little endian) core |
| 281 | Disable BR2_SOFT_FLOAT |
| 282 | - MIPS32r2 - Little-Endian, O32, MIPS16 |
| 283 | Select MIPS (little endian) core |
| 284 | Disable BR2_SOFT_FLOAT |
| 285 | Set BR2_TARGET_OPTIMIZATION to -mips16 |
| 286 | - MIPS32r2 - Little-Endian, Soft-Float, O32 |
| 287 | Select MIPS (little endian) core |
| 288 | Select BR2_SOFT_FLOAT |
| 289 | - MIPS32r2 - Little-Endian, Soft-Float, O32, MIPS16 |
| 290 | Select MIPS (little endian) core |
| 291 | Select BR2_SOFT_FLOAT |
| 292 | Set BR2_TARGET_OPTIMIZATION to -mips16 |
| 293 | - MIPS32r2 - Little-Endian, Soft-Float, O32, microMIPS |
| 294 | Select MIPS (little endian) core |
| 295 | Select BR2_SOFT_FLOAT |
| 296 | Set BR2_TARGET_OPTIMIZATION to -mmicromips |
| 297 | - MIPS32r2 - uClibc, Big-Endian, 2008 NaN, O32 |
| 298 | Not usable in Buildroot yet. |
| 299 | - MIPS32r2 - uClibc, Big-Endian, O32 |
| 300 | Not usable in Buildroot yet. |
| 301 | - MIPS32r2 - uClibc, Big-Endian, Soft-Float, O32 |
| 302 | Not usable in Buildroot yet. |
| 303 | - MIPS32r2 - uClibc, Little-Endian, 2008 NaN, O32 |
| 304 | Not usable in Buildroot yet. |
| 305 | - MIPS32r2 - uClibc, Little-Endian, O32 |
| 306 | Not usable in Buildroot yet. |
| 307 | - MIPS32r2 - uClibc, Little-Endian, Soft-Float, O32 |
| 308 | Not usable in Buildroot yet. |
| 309 | - MIPS64r2 - Big-Endian, N64 |
| 310 | Select MIPS64 (big endian) core |
| 311 | Select the n64 ABI |
| 312 | Disable BR2_SOFT_FLOAT |
| 313 | - MIPS64r2 - Big-Endian, Soft-Float, N64 |
| 314 | Select MIPS64 (big endian) core |
| 315 | Select the n64 ABI |
| 316 | Select BR2_SOFT_FLOAT |
| 317 | - MIPS64r2 - Little-Endian, N64 |
| 318 | Select MIPS64 (little endian) core |
| 319 | Select the n64 ABI |
| 320 | Disable BR2_SOFT_FLOAT |
| 321 | - MIPS64r2 - Little-Endian, Soft-Float, N64 |
| 322 | Select MIPS64 (little endian) core |
| 323 | Select the n64 ABI |
| 324 | Select BR2_SOFT_FLOAT |
| 325 | |
Markos Chandras | 6f70ba3 | 2013-08-13 09:45:44 +0100 | [diff] [blame] | 326 | comment "Sourcery CodeBench toolchains are only available for MIPS/MIPS64 o32 and n64" |
| 327 | depends on BR2_MIPS_NABI32 |
Thomas Petazzoni | 665e13c | 2014-12-03 22:41:29 +0100 | [diff] [blame] | 328 | depends on !BR2_STATIC_LIBS |
Markos Chandras | 6f70ba3 | 2013-08-13 09:45:44 +0100 | [diff] [blame] | 329 | |
Romain Naour | c785b1b | 2015-11-21 17:36:16 +0100 | [diff] [blame] | 330 | config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII |
Romain Naour | e7e5a76 | 2015-11-21 17:36:17 +0100 | [diff] [blame] | 331 | bool "Sourcery CodeBench Nios-II 2015.11" |
Ezequiel GarcÃa | 3ca5f0b | 2014-08-31 18:33:39 -0300 | [diff] [blame] | 332 | depends on BR2_nios2 |
| 333 | depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" |
Thomas Petazzoni | 665e13c | 2014-12-03 22:41:29 +0100 | [diff] [blame] | 334 | depends on !BR2_STATIC_LIBS |
Ezequiel GarcÃa | 3ca5f0b | 2014-08-31 18:33:39 -0300 | [diff] [blame] | 335 | select BR2_TOOLCHAIN_EXTERNAL_GLIBC |
| 336 | select BR2_TOOLCHAIN_HAS_NATIVE_RPC |
| 337 | select BR2_INSTALL_LIBSTDCPP |
| 338 | select BR2_HOSTARCH_NEEDS_IA32_LIBS |
Romain Naour | e7e5a76 | 2015-11-21 17:36:17 +0100 | [diff] [blame] | 339 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2 |
| 340 | select BR2_TOOLCHAIN_GCC_AT_LEAST_5 |
Ezequiel GarcÃa | 3ca5f0b | 2014-08-31 18:33:39 -0300 | [diff] [blame] | 341 | help |
| 342 | Sourcery CodeBench toolchain for the Nios-II architecture, |
Romain Naour | e7e5a76 | 2015-11-21 17:36:17 +0100 | [diff] [blame] | 343 | from Mentor Graphics. It uses gcc 5.2, binutils 2.25.51, |
| 344 | glibc 2.22, gdb 7.10.50 and kernel headers 4.2. |
Ezequiel GarcÃa | 3ca5f0b | 2014-08-31 18:33:39 -0300 | [diff] [blame] | 345 | |
Thomas Petazzoni | 20d4ba9 | 2014-06-01 12:47:47 +0200 | [diff] [blame] | 346 | config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201203 |
| 347 | bool "Sourcery CodeBench PowerPC 2012.03" |
| 348 | depends on BR2_powerpc |
| 349 | depends on BR2_powerpc_SPE |
| 350 | depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" |
Thomas Petazzoni | 665e13c | 2014-12-03 22:41:29 +0100 | [diff] [blame] | 351 | depends on !BR2_STATIC_LIBS |
Thomas Petazzoni | 20d4ba9 | 2014-06-01 12:47:47 +0200 | [diff] [blame] | 352 | select BR2_TOOLCHAIN_EXTERNAL_GLIBC |
| 353 | select BR2_TOOLCHAIN_HAS_NATIVE_RPC |
| 354 | select BR2_INSTALL_LIBSTDCPP |
| 355 | select BR2_HOSTARCH_NEEDS_IA32_LIBS |
| 356 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2 |
Thomas Petazzoni | bd760c3 | 2015-08-04 20:00:35 +0200 | [diff] [blame] | 357 | select BR2_TOOLCHAIN_GCC_AT_LEAST_4_6 |
Thomas Petazzoni | 20d4ba9 | 2014-06-01 12:47:47 +0200 | [diff] [blame] | 358 | help |
| 359 | Sourcery CodeBench toolchain for the PowerPC architecture, |
| 360 | from Mentor Graphics. It uses gcc 4.6.3, binutils 2.21.53, |
| 361 | glibc 2.15, gdb 7.2.50 and kernel headers 3.2.10. It has |
| 362 | support for the following variants: |
| 363 | - e500v2 glibc, SPE, 32 bits |
| 364 | |
Thomas Petazzoni | 22e0698 | 2011-12-31 12:28:34 +0100 | [diff] [blame] | 365 | config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201103 |
| 366 | bool "Sourcery CodeBench PowerPC 2011.03" |
| 367 | depends on BR2_powerpc |
Thomas Petazzoni | 4eff1f2 | 2012-12-29 06:14:48 +0000 | [diff] [blame] | 368 | depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" |
Thomas Petazzoni | 665e13c | 2014-12-03 22:41:29 +0100 | [diff] [blame] | 369 | depends on !BR2_STATIC_LIBS |
Thomas Petazzoni | 22e0698 | 2011-12-31 12:28:34 +0100 | [diff] [blame] | 370 | select BR2_TOOLCHAIN_EXTERNAL_GLIBC |
Thomas Petazzoni | 9fbdf06 | 2012-11-03 18:47:50 +0100 | [diff] [blame] | 371 | select BR2_TOOLCHAIN_HAS_NATIVE_RPC |
Thomas Petazzoni | 22e0698 | 2011-12-31 12:28:34 +0100 | [diff] [blame] | 372 | select BR2_INSTALL_LIBSTDCPP |
Thomas Petazzoni | 2d16ba9 | 2012-12-29 06:14:50 +0000 | [diff] [blame] | 373 | select BR2_HOSTARCH_NEEDS_IA32_LIBS |
Yann E. MORIN | b6f321b | 2014-03-01 15:52:58 +0100 | [diff] [blame] | 374 | # kernel headers: 2.6.38 |
Thomas Petazzoni | bd760c3 | 2015-08-04 20:00:35 +0200 | [diff] [blame] | 375 | select BR2_TOOLCHAIN_GCC_AT_LEAST_4_5 |
Thomas Petazzoni | 22e0698 | 2011-12-31 12:28:34 +0100 | [diff] [blame] | 376 | help |
| 377 | Sourcery CodeBench toolchain for the PowerPC architecture, |
| 378 | from Mentor Graphics. It uses gcc 4.5.2, binutils 2.20.51, |
| 379 | glibc 2.13, gdb 7.2.50 and kernel headers 2.6.38. It has |
| 380 | support for the following variants: |
Thomas De Schampheleire | 5022fa8 | 2012-06-22 07:42:37 +0200 | [diff] [blame] | 381 | - 603 glibc, 32 bits |
Thomas Petazzoni | c5c1064 | 2011-12-31 15:38:22 +0100 | [diff] [blame] | 382 | Select a generic PowerPC core |
| 383 | Disable BR2_SOFT_FLOAT |
Thomas De Schampheleire | 5022fa8 | 2012-06-22 07:42:37 +0200 | [diff] [blame] | 384 | - 603 soft float glibc, 32 bits |
Thomas Petazzoni | c5c1064 | 2011-12-31 15:38:22 +0100 | [diff] [blame] | 385 | Select a generic PowerPC core |
| 386 | Enable BR2_SOFT_FLOAT |
Thomas De Schampheleire | 5022fa8 | 2012-06-22 07:42:37 +0200 | [diff] [blame] | 387 | - e600 altivec glibc, 32 bits |
| 388 | Set BR2_TARGET_OPTIMIZATION to -te600 |
| 389 | - e500v1 glibc, 32 bits |
| 390 | Set BR2_TARGET_OPTIMIZATION to -te500v1 |
| 391 | - e500v2 glibc, 32 bits |
| 392 | Set BR2_TARGET_OPTIMIZATION to -te500v2 |
| 393 | - e500mc glibc, 32 bits |
| 394 | Set BR2_TARGET_OPTIMIZATION to -te500mc |
| 395 | - 970 glibc hard-float, 64 bits |
| 396 | Set BR2_TARGET_OPTIMIZATION to -m64 |
Thomas Petazzoni | 22e0698 | 2011-12-31 12:28:34 +0100 | [diff] [blame] | 397 | |
Thomas Petazzoni | 6c492d5 | 2010-12-13 17:27:39 +0100 | [diff] [blame] | 398 | config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009 |
Thomas Petazzoni | 3a71493 | 2011-10-02 21:20:15 +0200 | [diff] [blame] | 399 | bool "Sourcery CodeBench PowerPC 2010.09" |
Thomas Petazzoni | 6c492d5 | 2010-12-13 17:27:39 +0100 | [diff] [blame] | 400 | depends on BR2_powerpc |
Thomas Petazzoni | 4eff1f2 | 2012-12-29 06:14:48 +0000 | [diff] [blame] | 401 | depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" |
Thomas Petazzoni | 665e13c | 2014-12-03 22:41:29 +0100 | [diff] [blame] | 402 | depends on !BR2_STATIC_LIBS |
Thomas Petazzoni | 6c492d5 | 2010-12-13 17:27:39 +0100 | [diff] [blame] | 403 | select BR2_TOOLCHAIN_EXTERNAL_GLIBC |
Thomas Petazzoni | 9fbdf06 | 2012-11-03 18:47:50 +0100 | [diff] [blame] | 404 | select BR2_TOOLCHAIN_HAS_NATIVE_RPC |
Thomas Petazzoni | 6b578c8 | 2010-12-13 17:27:41 +0100 | [diff] [blame] | 405 | select BR2_INSTALL_LIBSTDCPP |
Thomas Petazzoni | 2d16ba9 | 2012-12-29 06:14:50 +0000 | [diff] [blame] | 406 | select BR2_HOSTARCH_NEEDS_IA32_LIBS |
Yann E. MORIN | b6f321b | 2014-03-01 15:52:58 +0100 | [diff] [blame] | 407 | # kernel headers: 2.6.35 |
Thomas Petazzoni | bd760c3 | 2015-08-04 20:00:35 +0200 | [diff] [blame] | 408 | select BR2_TOOLCHAIN_GCC_AT_LEAST_4_5 |
Thomas Petazzoni | 6c492d5 | 2010-12-13 17:27:39 +0100 | [diff] [blame] | 409 | help |
Thomas Petazzoni | 3a71493 | 2011-10-02 21:20:15 +0200 | [diff] [blame] | 410 | Sourcery CodeBench toolchain for the PowerPC architecture, |
Thomas Petazzoni | 2ec3e6d | 2012-01-15 20:02:11 +0100 | [diff] [blame] | 411 | from Mentor Graphics. It uses gcc 4.5.1, binutils 2.20, |
Thomas Petazzoni | 3a71493 | 2011-10-02 21:20:15 +0200 | [diff] [blame] | 412 | glibc 2.11, gdb 7.2.50 and kernel headers 2.6.35.2. It has |
| 413 | support for the following variants: |
Thomas De Schampheleire | 5022fa8 | 2012-06-22 07:42:37 +0200 | [diff] [blame] | 414 | - 603 glibc, 32 bits |
Thomas Petazzoni | c5c1064 | 2011-12-31 15:38:22 +0100 | [diff] [blame] | 415 | Select a generic PowerPC core |
| 416 | Disable BR2_SOFT_FLOAT |
Thomas De Schampheleire | 5022fa8 | 2012-06-22 07:42:37 +0200 | [diff] [blame] | 417 | - 603 soft float glibc, 32 bits |
Thomas Petazzoni | c5c1064 | 2011-12-31 15:38:22 +0100 | [diff] [blame] | 418 | Select a generic PowerPC core |
| 419 | Enable BR2_SOFT_FLOAT |
Thomas De Schampheleire | 5022fa8 | 2012-06-22 07:42:37 +0200 | [diff] [blame] | 420 | - e600 altivec glibc, 32 bits |
| 421 | Set BR2_TARGET_OPTIMIZATION to -te600 |
| 422 | - e500v1 glibc, 32 bits |
| 423 | Set BR2_TARGET_OPTIMIZATION to -te500v1 |
| 424 | - e500v2 glibc, 32 bits |
| 425 | Set BR2_TARGET_OPTIMIZATION to -te500v2 |
| 426 | - e500mc glibc, 32 bits |
| 427 | Set BR2_TARGET_OPTIMIZATION to -te500mc |
| 428 | - 970 glibc hard-float, 64 bits |
| 429 | Set BR2_TARGET_OPTIMIZATION to -m64 |
Thomas Petazzoni | 6c492d5 | 2010-12-13 17:27:39 +0100 | [diff] [blame] | 430 | |
Thomas Petazzoni | e067a44 | 2012-11-04 07:34:21 +0000 | [diff] [blame] | 431 | config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201209 |
| 432 | bool "Sourcery CodeBench SH 2012.09" |
| 433 | depends on BR2_sh4a || BR2_sh4aeb |
Thomas Petazzoni | 4eff1f2 | 2012-12-29 06:14:48 +0000 | [diff] [blame] | 434 | depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" |
Thomas Petazzoni | 665e13c | 2014-12-03 22:41:29 +0100 | [diff] [blame] | 435 | depends on !BR2_STATIC_LIBS |
Thomas Petazzoni | e067a44 | 2012-11-04 07:34:21 +0000 | [diff] [blame] | 436 | select BR2_TOOLCHAIN_EXTERNAL_GLIBC |
| 437 | select BR2_TOOLCHAIN_HAS_NATIVE_RPC |
| 438 | select BR2_INSTALL_LIBSTDCPP |
Thomas Petazzoni | 2d16ba9 | 2012-12-29 06:14:50 +0000 | [diff] [blame] | 439 | select BR2_HOSTARCH_NEEDS_IA32_LIBS |
Yann E. MORIN | b6f321b | 2014-03-01 15:52:58 +0100 | [diff] [blame] | 440 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5 |
Thomas Petazzoni | bd760c3 | 2015-08-04 20:00:35 +0200 | [diff] [blame] | 441 | select BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 |
Thomas Petazzoni | e067a44 | 2012-11-04 07:34:21 +0000 | [diff] [blame] | 442 | help |
| 443 | Sourcery CodeBench toolchain for the SuperH architecture, |
| 444 | from Mentor Graphics. It uses gcc 4.7.2, binutils 2.23.51, |
| 445 | glibc 2.16, uClibc 0.9.30, gdb 7.4.50 and kernel headers |
| 446 | 3.5.4. It has support for the following variants: |
Thomas De Schampheleire | bed4e27 | 2013-11-11 17:23:23 +0100 | [diff] [blame] | 447 | - SH4A, glibc, little endian |
| 448 | Default. |
| 449 | - SH4A, glibc, big endian |
| 450 | Add -mb to BR2_TARGET_OPTIMIZATION |
| 451 | - SH4A, uClibc, little endian |
| 452 | Not usable in Buildroot yet. |
| 453 | - SH4A, uClibc, big endian |
| 454 | Not usable in Buildroot yet. |
Thomas Petazzoni | e067a44 | 2012-11-04 07:34:21 +0000 | [diff] [blame] | 455 | |
Thomas Petazzoni | 41d85c0 | 2012-11-04 07:34:19 +0000 | [diff] [blame] | 456 | config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201203 |
| 457 | bool "Sourcery CodeBench SH 2012.03" |
| 458 | depends on BR2_sh4a || BR2_sh4aeb |
Thomas Petazzoni | 4eff1f2 | 2012-12-29 06:14:48 +0000 | [diff] [blame] | 459 | depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" |
Thomas Petazzoni | 665e13c | 2014-12-03 22:41:29 +0100 | [diff] [blame] | 460 | depends on !BR2_STATIC_LIBS |
Thomas Petazzoni | 41d85c0 | 2012-11-04 07:34:19 +0000 | [diff] [blame] | 461 | select BR2_TOOLCHAIN_EXTERNAL_GLIBC |
| 462 | select BR2_INSTALL_LIBSTDCPP |
Thomas Petazzoni | 2d16ba9 | 2012-12-29 06:14:50 +0000 | [diff] [blame] | 463 | select BR2_HOSTARCH_NEEDS_IA32_LIBS |
Yann E. MORIN | b6f321b | 2014-03-01 15:52:58 +0100 | [diff] [blame] | 464 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2 |
Thomas Petazzoni | bd760c3 | 2015-08-04 20:00:35 +0200 | [diff] [blame] | 465 | select BR2_TOOLCHAIN_GCC_AT_LEAST_4_6 |
Thomas Petazzoni | 41d85c0 | 2012-11-04 07:34:19 +0000 | [diff] [blame] | 466 | help |
| 467 | Sourcery CodeBench toolchain for the SuperH architecture, |
| 468 | from Mentor Graphics. It uses gcc 4.6.3, binutils 2.21.53, |
| 469 | glibc 2.15, uClibc 0.9.30, gdb 7.2.50 and kernel headers |
| 470 | 3.2.10. It has support for the following variants: |
Thomas De Schampheleire | bed4e27 | 2013-11-11 17:23:23 +0100 | [diff] [blame] | 471 | - SH4A, glibc, little endian |
| 472 | Default. |
| 473 | - SH4A, glibc, big endian |
| 474 | Add -mb to BR2_TARGET_OPTIMIZATION |
| 475 | - SH4A, uClibc, little endian |
| 476 | Not usable in Buildroot yet. |
| 477 | - SH4A, uClibc, big endian |
| 478 | Not usable in Buildroot yet. |
Thomas Petazzoni | 41d85c0 | 2012-11-04 07:34:19 +0000 | [diff] [blame] | 479 | |
Thomas Petazzoni | 42c0fb4 | 2011-10-02 21:20:13 +0200 | [diff] [blame] | 480 | config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201103 |
Thomas Petazzoni | 3a71493 | 2011-10-02 21:20:15 +0200 | [diff] [blame] | 481 | bool "Sourcery CodeBench SH 2011.03" |
Thomas Petazzoni | 42c0fb4 | 2011-10-02 21:20:13 +0200 | [diff] [blame] | 482 | depends on BR2_sh4a || BR2_sh4aeb |
Thomas Petazzoni | 4eff1f2 | 2012-12-29 06:14:48 +0000 | [diff] [blame] | 483 | depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" |
Thomas Petazzoni | 665e13c | 2014-12-03 22:41:29 +0100 | [diff] [blame] | 484 | depends on !BR2_STATIC_LIBS |
Thomas Petazzoni | 42c0fb4 | 2011-10-02 21:20:13 +0200 | [diff] [blame] | 485 | select BR2_TOOLCHAIN_EXTERNAL_GLIBC |
Thomas Petazzoni | 9fbdf06 | 2012-11-03 18:47:50 +0100 | [diff] [blame] | 486 | select BR2_TOOLCHAIN_HAS_NATIVE_RPC |
Thomas Petazzoni | 42c0fb4 | 2011-10-02 21:20:13 +0200 | [diff] [blame] | 487 | select BR2_INSTALL_LIBSTDCPP |
Thomas Petazzoni | 2d16ba9 | 2012-12-29 06:14:50 +0000 | [diff] [blame] | 488 | select BR2_HOSTARCH_NEEDS_IA32_LIBS |
Yann E. MORIN | b6f321b | 2014-03-01 15:52:58 +0100 | [diff] [blame] | 489 | # kernel headers: 2.6.38 |
Thomas Petazzoni | bd760c3 | 2015-08-04 20:00:35 +0200 | [diff] [blame] | 490 | select BR2_TOOLCHAIN_GCC_AT_LEAST_4_5 |
Thomas Petazzoni | 42c0fb4 | 2011-10-02 21:20:13 +0200 | [diff] [blame] | 491 | help |
Thomas Petazzoni | 3a71493 | 2011-10-02 21:20:15 +0200 | [diff] [blame] | 492 | Sourcery CodeBench toolchain for the SuperH architecture, |
| 493 | from Mentor Graphics. It uses gcc 4.5.2, binutils 2.20, |
| 494 | glibc 2.13, uClibc 0.9.30, gdb 7.2.50 and kernel headers |
| 495 | 2.6.38. It has support for the following variants: |
Thomas De Schampheleire | 5022fa8 | 2012-06-22 07:42:37 +0200 | [diff] [blame] | 496 | - SH4A, glibc, little endian |
| 497 | Default. |
| 498 | - SH4A, glibc, big endian |
| 499 | Add -mb to BR2_TARGET_OPTIMIZATION |
| 500 | - SH4A, uClibc, little endian |
| 501 | Not usable in Buildroot yet. |
| 502 | - SH4A, uClibc, big endian |
| 503 | Not usable in Buildroot yet. |
Thomas Petazzoni | 42c0fb4 | 2011-10-02 21:20:13 +0200 | [diff] [blame] | 504 | |
Romain Naour | 23ba818 | 2015-11-21 17:36:14 +0100 | [diff] [blame] | 505 | config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AMD64 |
Romain Naour | 09f1a3b | 2015-11-21 17:36:15 +0100 | [diff] [blame] | 506 | bool "Sourcery CodeBench AMD64 2015.11" |
Gustavo Zacarias | d6fbd85 | 2015-03-03 12:52:31 -0300 | [diff] [blame] | 507 | depends on BR2_x86_64 |
| 508 | depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" |
| 509 | depends on !BR2_STATIC_LIBS |
| 510 | depends on BR2_x86_jaguar || BR2_x86_steamroller |
| 511 | select BR2_TOOLCHAIN_EXTERNAL_GLIBC |
| 512 | select BR2_TOOLCHAIN_HAS_NATIVE_RPC |
| 513 | select BR2_INSTALL_LIBSTDCPP |
| 514 | select BR2_HOSTARCH_NEEDS_IA32_LIBS |
Romain Naour | 09f1a3b | 2015-11-21 17:36:15 +0100 | [diff] [blame] | 515 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2 |
| 516 | select BR2_TOOLCHAIN_GCC_AT_LEAST_5 |
Gustavo Zacarias | d6fbd85 | 2015-03-03 12:52:31 -0300 | [diff] [blame] | 517 | help |
| 518 | Sourcery CodeBench toolchain for the amd64 (x86_64) |
Romain Naour | 09f1a3b | 2015-11-21 17:36:15 +0100 | [diff] [blame] | 519 | architectures, from Mentor Graphics. It uses gcc 5.2, |
| 520 | binutils 2.25.51, glibc 2.22, gdb 7.10.50 and kernel headers |
| 521 | 4.2. It has support for the following variants: |
Gustavo Zacarias | d6fbd85 | 2015-03-03 12:52:31 -0300 | [diff] [blame] | 522 | - AMD Puma/Jaguar (family 16h), glibc |
| 523 | Default for x86_64, nothing special to do. |
| 524 | - AMD Steamroller (family 15h), glibc |
| 525 | Select a steamroller core. |
| 526 | No other architecture variants are supported since glibc |
| 527 | is optimized for one of these two baselines. |
| 528 | |
Thomas Petazzoni | 1c81123 | 2012-11-04 07:34:22 +0000 | [diff] [blame] | 529 | config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201209 |
| 530 | bool "Sourcery CodeBench x86/x86_64 2012.09" |
| 531 | depends on BR2_i386 || BR2_x86_64 |
Thomas Petazzoni | 4eff1f2 | 2012-12-29 06:14:48 +0000 | [diff] [blame] | 532 | depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" |
Thomas Petazzoni | 665e13c | 2014-12-03 22:41:29 +0100 | [diff] [blame] | 533 | depends on !BR2_STATIC_LIBS |
Adrien Béraud | a20cb38 | 2014-01-15 17:17:10 -0500 | [diff] [blame] | 534 | depends on !BR2_x86_jaguar |
Gustavo Zacarias | 5045199 | 2015-03-03 12:52:30 -0300 | [diff] [blame] | 535 | depends on !BR2_x86_steamroller |
Thomas Petazzoni | 1c81123 | 2012-11-04 07:34:22 +0000 | [diff] [blame] | 536 | select BR2_TOOLCHAIN_EXTERNAL_GLIBC |
| 537 | select BR2_TOOLCHAIN_HAS_NATIVE_RPC |
| 538 | select BR2_INSTALL_LIBSTDCPP |
Thomas Petazzoni | 2d16ba9 | 2012-12-29 06:14:50 +0000 | [diff] [blame] | 539 | select BR2_HOSTARCH_NEEDS_IA32_LIBS |
Yann E. MORIN | b6f321b | 2014-03-01 15:52:58 +0100 | [diff] [blame] | 540 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5 |
Thomas Petazzoni | bd760c3 | 2015-08-04 20:00:35 +0200 | [diff] [blame] | 541 | select BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 |
Thomas Petazzoni | 1c81123 | 2012-11-04 07:34:22 +0000 | [diff] [blame] | 542 | help |
| 543 | Sourcery CodeBench toolchain for the x86/x86_64 |
| 544 | architectures, from Mentor Graphics. It uses gcc 4.7.2, |
| 545 | binutils 2.23.51, glibc 2.16, gdb 7.4.50 and kernel headers |
| 546 | 3.5.4. It has support for the following variants: |
| 547 | - Intel Pentium 4, glibc, 32 bits |
| 548 | Default for x86, nothing special to do. |
| 549 | - Intel Atom, glibc, 32 bits |
| 550 | Select an Atom core |
| 551 | - Intel Xeon, glibc, 64 bits |
| 552 | Default for x86_64, nothing special to do. |
| 553 | - Intel Core 2, glibc, 64 bits |
| 554 | Select a Core 2 core |
| 555 | Other architecture variants (beyond Pentium-4/Xeon) are |
| 556 | supported as well, but glibc is not optimised for it. |
| 557 | |
Thomas Petazzoni | 363cb60 | 2012-11-04 07:34:20 +0000 | [diff] [blame] | 558 | config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201203 |
| 559 | bool "Sourcery CodeBench x86/x86_64 2012.03" |
| 560 | depends on BR2_i386 || BR2_x86_64 |
Thomas Petazzoni | 4eff1f2 | 2012-12-29 06:14:48 +0000 | [diff] [blame] | 561 | depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" |
Thomas Petazzoni | 665e13c | 2014-12-03 22:41:29 +0100 | [diff] [blame] | 562 | depends on !BR2_STATIC_LIBS |
Adrien Béraud | a20cb38 | 2014-01-15 17:17:10 -0500 | [diff] [blame] | 563 | depends on !BR2_x86_jaguar |
Gustavo Zacarias | 5045199 | 2015-03-03 12:52:30 -0300 | [diff] [blame] | 564 | depends on !BR2_x86_steamroller |
Thomas Petazzoni | 363cb60 | 2012-11-04 07:34:20 +0000 | [diff] [blame] | 565 | select BR2_TOOLCHAIN_EXTERNAL_GLIBC |
| 566 | select BR2_INSTALL_LIBSTDCPP |
Thomas Petazzoni | 2d16ba9 | 2012-12-29 06:14:50 +0000 | [diff] [blame] | 567 | select BR2_HOSTARCH_NEEDS_IA32_LIBS |
Yann E. MORIN | b6f321b | 2014-03-01 15:52:58 +0100 | [diff] [blame] | 568 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2 |
Thomas Petazzoni | bd760c3 | 2015-08-04 20:00:35 +0200 | [diff] [blame] | 569 | select BR2_TOOLCHAIN_GCC_AT_LEAST_4_6 |
Thomas Petazzoni | 363cb60 | 2012-11-04 07:34:20 +0000 | [diff] [blame] | 570 | help |
| 571 | Sourcery CodeBench toolchain for the x86/x86_64 |
| 572 | architectures, from Mentor Graphics. It uses gcc 4.6.3, |
| 573 | binutils 2.21.53, glibc 2.15, gdb 7.2.50 and kernel headers |
| 574 | 3.2.10. It has support for the following variants: |
| 575 | - Intel Pentium 4, glibc, 32 bits |
| 576 | Default for x86, nothing special to do. |
| 577 | - Intel Atom, glibc, 32 bits |
| 578 | Select an Atom core |
| 579 | - Intel Xeon, glibc, 64 bits |
| 580 | Default for x86_64, nothing special to do. |
| 581 | - Intel Core 2, glibc, 64 bits |
| 582 | Select a Core 2 core |
| 583 | Other architecture variants (beyond Pentium-4/Xeon) are |
| 584 | supported as well, but glibc is not optimised for it. |
| 585 | |
Thomas Petazzoni | d00bd2a | 2011-12-31 12:34:33 +0100 | [diff] [blame] | 586 | config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201109 |
| 587 | bool "Sourcery CodeBench x86/x86_64 2011.09" |
| 588 | depends on BR2_i386 || BR2_x86_64 |
Thomas Petazzoni | 4eff1f2 | 2012-12-29 06:14:48 +0000 | [diff] [blame] | 589 | depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" |
Thomas Petazzoni | 665e13c | 2014-12-03 22:41:29 +0100 | [diff] [blame] | 590 | depends on !BR2_STATIC_LIBS |
Adrien Béraud | a20cb38 | 2014-01-15 17:17:10 -0500 | [diff] [blame] | 591 | depends on !BR2_x86_jaguar |
Gustavo Zacarias | 5045199 | 2015-03-03 12:52:30 -0300 | [diff] [blame] | 592 | depends on !BR2_x86_steamroller |
Thomas Petazzoni | d00bd2a | 2011-12-31 12:34:33 +0100 | [diff] [blame] | 593 | select BR2_TOOLCHAIN_EXTERNAL_GLIBC |
Thomas Petazzoni | 9fbdf06 | 2012-11-03 18:47:50 +0100 | [diff] [blame] | 594 | select BR2_TOOLCHAIN_HAS_NATIVE_RPC |
Thomas Petazzoni | d00bd2a | 2011-12-31 12:34:33 +0100 | [diff] [blame] | 595 | select BR2_INSTALL_LIBSTDCPP |
Thomas Petazzoni | 2d16ba9 | 2012-12-29 06:14:50 +0000 | [diff] [blame] | 596 | select BR2_HOSTARCH_NEEDS_IA32_LIBS |
Yann E. MORIN | b6f321b | 2014-03-01 15:52:58 +0100 | [diff] [blame] | 597 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 |
Thomas Petazzoni | bd760c3 | 2015-08-04 20:00:35 +0200 | [diff] [blame] | 598 | select BR2_TOOLCHAIN_GCC_AT_LEAST_4_6 |
Thomas Petazzoni | d00bd2a | 2011-12-31 12:34:33 +0100 | [diff] [blame] | 599 | help |
| 600 | Sourcery CodeBench toolchain for the x86/x86_64 |
| 601 | architectures, from Mentor Graphics. It uses gcc 4.6.1, |
| 602 | binutils 2.21.53, glibc 2.13, gdb 7.2.50 and kernel headers |
| 603 | 3.0.1. It has support for the following variants: |
| 604 | - Intel Pentium 4, glibc, 32 bits |
Arnout Vandecappelle (Essensium/Mind) | a22dc0f | 2012-03-13 23:30:00 +0100 | [diff] [blame] | 605 | Default for x86, nothing special to do. |
| 606 | - Intel Atom, glibc, 32 bits |
| 607 | Select an Atom core |
| 608 | - Intel Xeon, glibc, 64 bits |
| 609 | Default for x86_64, nothing special to do. |
| 610 | - Intel Core 2, glibc, 64 bits |
| 611 | Select a Core 2 core |
| 612 | Other architecture variants (beyond Pentium-4/Xeon) are |
| 613 | supported as well, but glibc is not optimised for it. |
Thomas Petazzoni | d00bd2a | 2011-12-31 12:34:33 +0100 | [diff] [blame] | 614 | |
Thomas Petazzoni | 1cfeed1 | 2014-07-09 23:20:22 +0200 | [diff] [blame] | 615 | config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2014R1 |
| 616 | bool "Blackfin.uclinux.org 2014R1" |
Thomas Petazzoni | 5a65b8e | 2014-06-01 12:47:48 +0200 | [diff] [blame] | 617 | depends on BR2_bfin |
| 618 | depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" |
| 619 | select BR2_TOOLCHAIN_EXTERNAL_UCLIBC |
| 620 | select BR2_INSTALL_LIBSTDCPP |
Thomas Petazzoni | 5a65b8e | 2014-06-01 12:47:48 +0200 | [diff] [blame] | 621 | select BR2_TOOLCHAIN_HAS_NATIVE_RPC |
| 622 | select BR2_USE_WCHAR |
| 623 | select BR2_TOOLCHAIN_HAS_THREADS |
| 624 | select BR2_TOOLCHAIN_HAS_THREADS_DEBUG |
| 625 | select BR2_HOSTARCH_NEEDS_IA32_LIBS |
| 626 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10 |
Thomas Petazzoni | bd760c3 | 2015-08-04 20:00:35 +0200 | [diff] [blame] | 627 | select BR2_TOOLCHAIN_GCC_AT_LEAST_4_3 |
Thomas Petazzoni | 5a65b8e | 2014-06-01 12:47:48 +0200 | [diff] [blame] | 628 | help |
| 629 | Toolchain for the Blackfin architecture, from |
| 630 | http://blackfin.uclinux.org. |
| 631 | |
Thomas Petazzoni | 951fc4c | 2013-12-27 12:32:22 +0100 | [diff] [blame] | 632 | config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2013R1 |
| 633 | bool "Blackfin.uclinux.org 2013R1" |
| 634 | depends on BR2_bfin |
| 635 | depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" |
| 636 | select BR2_TOOLCHAIN_EXTERNAL_UCLIBC |
| 637 | select BR2_INSTALL_LIBSTDCPP |
Thomas Petazzoni | 951fc4c | 2013-12-27 12:32:22 +0100 | [diff] [blame] | 638 | select BR2_TOOLCHAIN_HAS_NATIVE_RPC |
| 639 | select BR2_USE_WCHAR |
| 640 | select BR2_TOOLCHAIN_HAS_THREADS |
| 641 | select BR2_TOOLCHAIN_HAS_THREADS_DEBUG |
| 642 | select BR2_HOSTARCH_NEEDS_IA32_LIBS |
Yann E. MORIN | b6f321b | 2014-03-01 15:52:58 +0100 | [diff] [blame] | 643 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10 |
Thomas Petazzoni | bd760c3 | 2015-08-04 20:00:35 +0200 | [diff] [blame] | 644 | select BR2_TOOLCHAIN_GCC_AT_LEAST_4_3 |
Thomas Petazzoni | 951fc4c | 2013-12-27 12:32:22 +0100 | [diff] [blame] | 645 | help |
| 646 | Toolchain for the Blackfin architecture, from |
| 647 | http://blackfin.uclinux.org. |
| 648 | |
Yann E. MORIN | 24bfce0 | 2015-10-27 00:49:41 +0100 | [diff] [blame] | 649 | # See note about Linar ARM/ARMEB toolchains, above. |
Thomas Petazzoni | d51025d | 2014-06-01 12:47:41 +0200 | [diff] [blame] | 650 | config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64 |
Thomas Petazzoni | 28bca1c | 2014-11-10 11:06:31 +0100 | [diff] [blame] | 651 | bool "Linaro AArch64 14.09" |
Thomas Petazzoni | 68b967a | 2013-12-27 12:32:20 +0100 | [diff] [blame] | 652 | depends on BR2_aarch64 |
Yann E. MORIN | 24bfce0 | 2015-10-27 00:49:41 +0100 | [diff] [blame] | 653 | depends on BR2_HOSTARCH = "x86" |
Thomas Petazzoni | 665e13c | 2014-12-03 22:41:29 +0100 | [diff] [blame] | 654 | depends on !BR2_STATIC_LIBS |
Thomas Petazzoni | 68b967a | 2013-12-27 12:32:20 +0100 | [diff] [blame] | 655 | select BR2_TOOLCHAIN_EXTERNAL_GLIBC |
| 656 | select BR2_INSTALL_LIBSTDCPP |
Thomas Petazzoni | 68b967a | 2013-12-27 12:32:20 +0100 | [diff] [blame] | 657 | select BR2_TOOLCHAIN_HAS_NATIVE_RPC |
Yann E. MORIN | b6f321b | 2014-03-01 15:52:58 +0100 | [diff] [blame] | 658 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7 |
Thomas Petazzoni | bd760c3 | 2015-08-04 20:00:35 +0200 | [diff] [blame] | 659 | select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 |
Thomas Petazzoni | 68b967a | 2013-12-27 12:32:20 +0100 | [diff] [blame] | 660 | help |
| 661 | Toolchain for the AArch64 architecture, from |
| 662 | http://www.linaro.org/engineering/armv8/ |
| 663 | |
Yann E. MORIN | 24bfce0 | 2015-10-27 00:49:41 +0100 | [diff] [blame] | 664 | # See note about Linar ARM/ARMEB toolchains, above. |
| 665 | config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64 |
| 666 | bool "Linaro AArch64 2015.08" |
| 667 | depends on BR2_aarch64 |
| 668 | depends on BR2_HOSTARCH = "x86_64" |
| 669 | depends on !BR2_STATIC_LIBS |
| 670 | select BR2_TOOLCHAIN_EXTERNAL_GLIBC |
| 671 | select BR2_INSTALL_LIBSTDCPP |
| 672 | select BR2_TOOLCHAIN_HAS_NATIVE_RPC |
| 673 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0 |
| 674 | select BR2_TOOLCHAIN_GCC_AT_LEAST_5 |
| 675 | help |
| 676 | Toolchain for the AArch64 architecture, from |
| 677 | http://www.linaro.org/engineering/armv8/ |
| 678 | |
Thomas Petazzoni | bab8f27 | 2014-09-15 23:49:34 +0200 | [diff] [blame] | 679 | config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AARCH64 |
| 680 | bool "CodeSourcery AArch64 2014.05" |
| 681 | depends on BR2_aarch64 |
| 682 | depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" |
Thomas Petazzoni | 665e13c | 2014-12-03 22:41:29 +0100 | [diff] [blame] | 683 | depends on !BR2_STATIC_LIBS |
Thomas Petazzoni | bab8f27 | 2014-09-15 23:49:34 +0200 | [diff] [blame] | 684 | select BR2_TOOLCHAIN_EXTERNAL_GLIBC |
| 685 | select BR2_INSTALL_LIBSTDCPP |
| 686 | select BR2_HOSTARCH_NEEDS_IA32_LIBS |
| 687 | select BR2_TOOLCHAIN_HAS_NATIVE_RPC |
| 688 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13 |
Thomas Petazzoni | bd760c3 | 2015-08-04 20:00:35 +0200 | [diff] [blame] | 689 | select BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 |
Thomas Petazzoni | bab8f27 | 2014-09-15 23:49:34 +0200 | [diff] [blame] | 690 | help |
| 691 | Sourcery CodeBench toolchain for the AArch64 architecture, |
| 692 | from Mentor Graphics. It uses gcc 4.8.3, binutils 2.24, |
| 693 | glibc 2.18, gdb 7.7.50 and kernel headers 3.13. |
| 694 | |
Thomas Petazzoni | 2d71c12 | 2014-05-05 23:17:10 +0200 | [diff] [blame] | 695 | config BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS |
Peter Korsgaard | 3ed34ff | 2015-05-04 16:01:37 +0200 | [diff] [blame] | 696 | bool "Musl 1.1.6 toolchain (experimental)" |
Thomas Petazzoni | 2d71c12 | 2014-05-05 23:17:10 +0200 | [diff] [blame] | 697 | depends on (BR2_arm && BR2_ARM_EABI) || (BR2_armeb && BR2_ARM_EABI) || \ |
Thomas Petazzoni | 77ef6a3 | 2014-05-30 22:24:39 +0200 | [diff] [blame] | 698 | (BR2_i386 && !BR2_x86_i386) || BR2_microblazebe || BR2_mips || \ |
Thomas Petazzoni | 2d71c12 | 2014-05-05 23:17:10 +0200 | [diff] [blame] | 699 | BR2_mipsel || (BR2_powerpc && BR2_powerpc_CLASSIC) || BR2_x86_64 |
| 700 | depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" |
Vicente Olivert Riera | 99122d6 | 2015-10-12 11:08:06 +0100 | [diff] [blame] | 701 | # Unsupported for MIPS R6 |
| 702 | depends on !BR2_mips_32r6 && !BR2_mips_64r6 |
Thomas Petazzoni | 2d71c12 | 2014-05-05 23:17:10 +0200 | [diff] [blame] | 703 | select BR2_TOOLCHAIN_EXTERNAL_MUSL |
| 704 | select BR2_INSTALL_LIBSTDCPP |
| 705 | select BR2_HOSTARCH_NEEDS_IA32_LIBS |
Thomas Petazzoni | 5c85266 | 2014-06-01 12:47:45 +0200 | [diff] [blame] | 706 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 |
Thomas Petazzoni | bd760c3 | 2015-08-04 20:00:35 +0200 | [diff] [blame] | 707 | select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 |
Thomas Petazzoni | 2d71c12 | 2014-05-05 23:17:10 +0200 | [diff] [blame] | 708 | help |
| 709 | Toolchain based on the Musl C library, provided by the |
Will Wagner | 2e313e1 | 2015-04-23 14:27:10 +0100 | [diff] [blame] | 710 | musl-cross project. It uses gcc 4.9.2, binutils 2.25 and |
| 711 | musl 1.1.6. It does not have a cross debugger included. |
Thomas Petazzoni | 2d71c12 | 2014-05-05 23:17:10 +0200 | [diff] [blame] | 712 | |
| 713 | The ARM toolchain is built for ARMv4t, soft-float. |
| 714 | The x86 toolchain is built for i486. |
| 715 | |
| 716 | http://musl.codu.org/ |
| 717 | |
Alexey Brodkin | 2b93fe5 | 2015-03-10 14:50:24 +0300 | [diff] [blame] | 718 | config BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_2014_12 |
| 719 | bool "Synopsys ARC 2014.12 toolchain" |
| 720 | depends on BR2_arc |
| 721 | depends on BR2_HOSTARCH = "x86_64" |
Thomas Petazzoni | cd3c00f | 2015-05-01 11:13:54 +0200 | [diff] [blame] | 722 | # does not provide IPv6, and lacks many uClibc features |
| 723 | # expected by Buildroot. The next Synopsys toolchain version |
| 724 | # should fix those problems. |
| 725 | depends on BROKEN |
Alexey Brodkin | 2b93fe5 | 2015-03-10 14:50:24 +0300 | [diff] [blame] | 726 | select BR2_TOOLCHAIN_EXTERNAL_UCLIBC |
| 727 | select BR2_INSTALL_LIBSTDCPP |
Alexey Brodkin | 2b93fe5 | 2015-03-10 14:50:24 +0300 | [diff] [blame] | 728 | select BR2_TOOLCHAIN_HAS_NATIVE_RPC |
| 729 | select BR2_ENABLE_LOCALE |
| 730 | select BR2_USE_WCHAR |
| 731 | select BR2_TOOLCHAIN_HAS_THREADS |
| 732 | select BR2_TOOLCHAIN_HAS_THREADS_DEBUG |
| 733 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13 |
Thomas Petazzoni | bd760c3 | 2015-08-04 20:00:35 +0200 | [diff] [blame] | 734 | select BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 |
Alexey Brodkin | 2b93fe5 | 2015-03-10 14:50:24 +0300 | [diff] [blame] | 735 | help |
| 736 | Toolchain for the ARC cores, from |
| 737 | https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases |
| 738 | |
Thomas Petazzoni | 6c492d5 | 2010-12-13 17:27:39 +0100 | [diff] [blame] | 739 | config BR2_TOOLCHAIN_EXTERNAL_CUSTOM |
Thomas De Schampheleire | 5022fa8 | 2012-06-22 07:42:37 +0200 | [diff] [blame] | 740 | bool "Custom toolchain" |
| 741 | help |
| 742 | Use this option to use a custom toolchain pre-installed on |
| 743 | your system. |
Thomas Petazzoni | 6c492d5 | 2010-12-13 17:27:39 +0100 | [diff] [blame] | 744 | |
| 745 | endchoice |
| 746 | |
Thomas De Schampheleire | df0c125 | 2012-06-22 07:42:38 +0200 | [diff] [blame] | 747 | choice |
| 748 | prompt "Toolchain origin" |
Thomas Petazzoni | 7019407 | 2012-07-22 20:57:26 +0200 | [diff] [blame] | 749 | # Keep compatibility with old defconfig files that are using |
| 750 | # custom toolchains, and which are therefore assuming that |
| 751 | # "preinstalled" in the default choice. |
| 752 | default BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED if BR2_TOOLCHAIN_EXTERNAL_CUSTOM |
Thomas De Schampheleire | df0c125 | 2012-06-22 07:42:38 +0200 | [diff] [blame] | 753 | |
Thomas Petazzoni | 6c492d5 | 2010-12-13 17:27:39 +0100 | [diff] [blame] | 754 | config BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD |
Thomas De Schampheleire | df0c125 | 2012-06-22 07:42:38 +0200 | [diff] [blame] | 755 | bool "Toolchain to be downloaded and installed" |
Thomas Petazzoni | 6c492d5 | 2010-12-13 17:27:39 +0100 | [diff] [blame] | 756 | help |
Thomas De Schampheleire | df0c125 | 2012-06-22 07:42:38 +0200 | [diff] [blame] | 757 | Select this option if you want Buildroot to download and install the |
| 758 | toolchain. If you have selected a custom toolchain, specify the URL |
| 759 | in BR2_TOOLCHAIN_EXTERNAL_URL. |
| 760 | |
| 761 | config BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED |
| 762 | bool "Pre-installed toolchain" |
| 763 | help |
| 764 | Select this option if you want to use a pre-installed toolchain. |
| 765 | Specify the path to this toolchain in BR2_TOOLCHAIN_EXTERNAL_PATH. |
| 766 | |
| 767 | endchoice |
Thomas Petazzoni | 6c492d5 | 2010-12-13 17:27:39 +0100 | [diff] [blame] | 768 | |
| 769 | config BR2_TOOLCHAIN_EXTERNAL_PATH |
| 770 | string "Toolchain path" |
| 771 | default "/path/to/toolchain/usr" |
Thomas De Schampheleire | df0c125 | 2012-06-22 07:42:38 +0200 | [diff] [blame] | 772 | depends on BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED |
Thomas Petazzoni | 6c492d5 | 2010-12-13 17:27:39 +0100 | [diff] [blame] | 773 | help |
| 774 | Path to where the external toolchain is installed. |
| 775 | |
Thomas De Schampheleire | df0c125 | 2012-06-22 07:42:38 +0200 | [diff] [blame] | 776 | config BR2_TOOLCHAIN_EXTERNAL_URL |
| 777 | string "Toolchain URL" |
| 778 | depends on BR2_TOOLCHAIN_EXTERNAL_CUSTOM && BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD |
| 779 | help |
| 780 | URL of the custom toolchain tarball to download and install. |
| 781 | |
Thomas Petazzoni | 6c492d5 | 2010-12-13 17:27:39 +0100 | [diff] [blame] | 782 | config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX |
| 783 | string "Toolchain prefix" |
| 784 | depends on BR2_TOOLCHAIN_EXTERNAL_CUSTOM |
| 785 | default "$(ARCH)-linux" |
| 786 | |
| 787 | config BR2_TOOLCHAIN_EXTERNAL_PREFIX |
| 788 | string |
Alexey Brodkin | 2b93fe5 | 2015-03-10 14:50:24 +0300 | [diff] [blame] | 789 | default "arc-linux" if BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_2014_12 && BR2_arcle |
| 790 | default "arceb-linux" if BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_2014_12 && BR2_arceb |
Thomas Petazzoni | be2abf2 | 2014-06-01 12:47:40 +0200 | [diff] [blame] | 791 | default "arm-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM |
Thomas Petazzoni | cd32da8 | 2014-03-05 23:23:40 +0100 | [diff] [blame] | 792 | default "armeb-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB |
Fabio Porcedda | 786700e | 2013-05-26 12:08:19 +0000 | [diff] [blame] | 793 | default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201305 |
Thomas Petazzoni | c525231 | 2013-12-27 12:32:17 +0100 | [diff] [blame] | 794 | default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201311 |
Thomas Petazzoni | 93f3c04 | 2014-09-15 23:49:35 +0200 | [diff] [blame] | 795 | default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201405 |
Thomas Petazzoni | 93d2b24 | 2013-06-08 11:14:17 +0200 | [diff] [blame] | 796 | default "arm-arago-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV7A_201109 |
Thomas Petazzoni | 2592f25 | 2013-06-08 11:14:18 +0200 | [diff] [blame] | 797 | default "arm-arago-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV5TE_201109 |
Thomas Petazzoni | d51025d | 2014-06-01 12:47:41 +0200 | [diff] [blame] | 798 | default "aarch64-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64 |
Thomas Petazzoni | bab8f27 | 2014-09-15 23:49:34 +0200 | [diff] [blame] | 799 | default "aarch64-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AARCH64 |
Romain Naour | d9306ad | 2015-11-21 17:36:19 +0100 | [diff] [blame^] | 800 | default "mips-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS |
Romain Naour | c785b1b | 2015-11-21 17:36:16 +0100 | [diff] [blame] | 801 | default "nios2-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII |
Thomas Petazzoni | 6c492d5 | 2010-12-13 17:27:39 +0100 | [diff] [blame] | 802 | default "powerpc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009 |
Thomas Petazzoni | 22e0698 | 2011-12-31 12:28:34 +0100 | [diff] [blame] | 803 | default "powerpc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201103 |
Thomas Petazzoni | 20d4ba9 | 2014-06-01 12:47:47 +0200 | [diff] [blame] | 804 | default "powerpc-mentor-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201203 |
Thomas Petazzoni | 42c0fb4 | 2011-10-02 21:20:13 +0200 | [diff] [blame] | 805 | default "sh-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201103 |
Thomas Petazzoni | 41d85c0 | 2012-11-04 07:34:19 +0000 | [diff] [blame] | 806 | default "sh-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201203 |
Thomas Petazzoni | e067a44 | 2012-11-04 07:34:21 +0000 | [diff] [blame] | 807 | default "sh-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201209 |
Thomas Petazzoni | d00bd2a | 2011-12-31 12:34:33 +0100 | [diff] [blame] | 808 | default "i686-pc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201109 |
Thomas Petazzoni | 363cb60 | 2012-11-04 07:34:20 +0000 | [diff] [blame] | 809 | default "i686-pc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201203 |
Thomas Petazzoni | 1c81123 | 2012-11-04 07:34:22 +0000 | [diff] [blame] | 810 | default "i686-pc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201209 |
Romain Naour | 23ba818 | 2015-11-21 17:36:14 +0100 | [diff] [blame] | 811 | default "x86_64-amd-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AMD64 |
Thomas Petazzoni | 951fc4c | 2013-12-27 12:32:22 +0100 | [diff] [blame] | 812 | default "bfin-uclinux" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2013R1 && BR2_BINFMT_FLAT |
| 813 | default "bfin-linux-uclibc" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2013R1 && BR2_BINFMT_FDPIC |
Thomas Petazzoni | 1cfeed1 | 2014-07-09 23:20:22 +0200 | [diff] [blame] | 814 | default "bfin-uclinux" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2014R1 && BR2_BINFMT_FLAT |
| 815 | default "bfin-linux-uclibc" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2014R1 && BR2_BINFMT_FDPIC |
Thomas Petazzoni | 2d71c12 | 2014-05-05 23:17:10 +0200 | [diff] [blame] | 816 | default "arm-linux-musleabi" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_arm |
| 817 | default "armeb-linux-musleabi" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_armeb |
| 818 | default "i486-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_i386 |
Thomas Petazzoni | 77ef6a3 | 2014-05-30 22:24:39 +0200 | [diff] [blame] | 819 | default "microblaze-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_microblazebe |
Thomas Petazzoni | 2d71c12 | 2014-05-05 23:17:10 +0200 | [diff] [blame] | 820 | default "mips-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && (BR2_mips && !BR2_SOFT_FLOAT) |
| 821 | default "mips-sf-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && (BR2_mips && BR2_SOFT_FLOAT) |
| 822 | default "mipsel-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && (BR2_mipsel && !BR2_SOFT_FLOAT) |
| 823 | default "mipsel-sf-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && (BR2_mipsel && BR2_SOFT_FLOAT) |
| 824 | default "powerpc-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_powerpc |
| 825 | default "x86_64-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_x86_64 |
Thomas De Schampheleire | fbc2494 | 2013-09-02 22:07:53 +0200 | [diff] [blame] | 826 | default BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX \ |
Thomas Petazzoni | 6c492d5 | 2010-12-13 17:27:39 +0100 | [diff] [blame] | 827 | if BR2_TOOLCHAIN_EXTERNAL_CUSTOM |
Thomas Petazzoni | 643aa23 | 2009-05-29 18:37:41 +0200 | [diff] [blame] | 828 | |
| 829 | config BR2_TOOLCHAIN_EXTERNAL_GLIBC |
Thomas Petazzoni | 6c492d5 | 2010-12-13 17:27:39 +0100 | [diff] [blame] | 830 | bool |
Thomas Petazzoni | 381616e | 2013-06-30 21:29:09 +0200 | [diff] [blame] | 831 | select BR2_TOOLCHAIN_USES_GLIBC |
Thomas Petazzoni | 643aa23 | 2009-05-29 18:37:41 +0200 | [diff] [blame] | 832 | |
Thomas Petazzoni | 6c492d5 | 2010-12-13 17:27:39 +0100 | [diff] [blame] | 833 | config BR2_TOOLCHAIN_EXTERNAL_UCLIBC |
| 834 | bool |
Thomas Petazzoni | 381616e | 2013-06-30 21:29:09 +0200 | [diff] [blame] | 835 | select BR2_TOOLCHAIN_USES_UCLIBC |
Thomas Petazzoni | 6c492d5 | 2010-12-13 17:27:39 +0100 | [diff] [blame] | 836 | |
Thomas Petazzoni | a1d94aa | 2013-10-08 20:17:09 +0200 | [diff] [blame] | 837 | config BR2_TOOLCHAIN_EXTERNAL_MUSL |
| 838 | bool |
| 839 | select BR2_TOOLCHAIN_USES_MUSL |
| 840 | |
Thomas Petazzoni | 6c492d5 | 2010-12-13 17:27:39 +0100 | [diff] [blame] | 841 | if BR2_TOOLCHAIN_EXTERNAL_CUSTOM |
| 842 | |
| 843 | choice |
Thomas Petazzoni | bd760c3 | 2015-08-04 20:00:35 +0200 | [diff] [blame] | 844 | bool "External toolchain gcc version" |
| 845 | default BR2_TOOLCHAIN_EXTERNAL_GCC_4_3 |
| 846 | help |
| 847 | Set to the gcc version that is used by your external |
| 848 | toolchain. |
| 849 | |
| 850 | config BR2_TOOLCHAIN_EXTERNAL_GCC_5 |
| 851 | bool "5.x" |
| 852 | select BR2_TOOLCHAIN_GCC_AT_LEAST_5 |
| 853 | |
| 854 | config BR2_TOOLCHAIN_EXTERNAL_GCC_4_9 |
| 855 | bool "4.9.x" |
| 856 | select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 |
| 857 | |
| 858 | config BR2_TOOLCHAIN_EXTERNAL_GCC_4_8 |
| 859 | bool "4.8.x" |
| 860 | select BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 |
| 861 | |
| 862 | config BR2_TOOLCHAIN_EXTERNAL_GCC_4_7 |
| 863 | bool "4.7.x" |
| 864 | select BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 |
| 865 | |
| 866 | config BR2_TOOLCHAIN_EXTERNAL_GCC_4_6 |
| 867 | bool "4.6.x" |
| 868 | select BR2_TOOLCHAIN_GCC_AT_LEAST_4_6 |
| 869 | |
| 870 | config BR2_TOOLCHAIN_EXTERNAL_GCC_4_5 |
| 871 | bool "4.5.x" |
| 872 | select BR2_TOOLCHAIN_GCC_AT_LEAST_4_5 |
| 873 | |
| 874 | config BR2_TOOLCHAIN_EXTERNAL_GCC_4_4 |
| 875 | bool "4.4.x" |
| 876 | select BR2_TOOLCHAIN_GCC_AT_LEAST_4_4 |
| 877 | |
| 878 | config BR2_TOOLCHAIN_EXTERNAL_GCC_4_3 |
| 879 | bool "4.3.x" |
| 880 | select BR2_TOOLCHAIN_GCC_AT_LEAST_4_3 |
| 881 | |
| 882 | endchoice |
| 883 | |
| 884 | choice |
Yann E. MORIN | c58bcd5 | 2014-03-01 15:52:59 +0100 | [diff] [blame] | 885 | bool "External toolchain kernel headers series" |
| 886 | default BR2_TOOLCHAIN_EXTERNAL_HEADERS_REALLY_OLD |
| 887 | help |
| 888 | Set to the kernel headers version that were used to build |
| 889 | this external toolchain. |
| 890 | |
| 891 | This is used to hide/show some packages that have strict |
| 892 | requirements on the version of kernel headers. |
| 893 | |
| 894 | If unsure what version your toolchain is using, you can look |
| 895 | at the value of LINUX_VERSION_CODE in linux/version.h in your |
| 896 | toolchain. The Linux version is M.m.p, with: |
| 897 | M = ( LINUX_VERSION_CODE >> 16 ) & 0xFF |
| 898 | m = ( LINUX_VERSION_CODE >> 8 ) & 0xFF |
| 899 | p = ( LINUX_VERSION_CODE >> 0 ) & 0xFF |
| 900 | |
Vicente Olivert Riera | aef2df8 | 2015-11-02 15:56:51 +0100 | [diff] [blame] | 901 | config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_3 |
| 902 | bool "4.3.x" |
| 903 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3 |
| 904 | |
Peter Korsgaard | 8dc6829 | 2015-09-01 10:05:20 +0200 | [diff] [blame] | 905 | config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_2 |
| 906 | bool "4.2.x" |
| 907 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2 |
| 908 | |
Gustavo Zacarias | dae7d8a | 2015-06-22 10:11:03 -0300 | [diff] [blame] | 909 | config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_1 |
| 910 | bool "4.1.x" |
| 911 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1 |
| 912 | |
Gustavo Zacarias | e714ee9 | 2015-04-13 10:00:23 -0300 | [diff] [blame] | 913 | config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_0 |
| 914 | bool "4.0.x" |
| 915 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0 |
| 916 | |
Peter Korsgaard | 81366ed | 2015-02-09 13:31:23 +0100 | [diff] [blame] | 917 | config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_19 |
| 918 | bool "3.19.x" |
| 919 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19 |
| 920 | |
Gustavo Zacarias | bf6f74d | 2014-12-08 08:10:39 -0300 | [diff] [blame] | 921 | config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_18 |
| 922 | bool "3.18.x" |
| 923 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18 |
| 924 | |
Gustavo Zacarias | 2d312b7 | 2014-10-06 08:44:39 -0300 | [diff] [blame] | 925 | config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_17 |
| 926 | bool "3.17.x" |
Karoly Kasza | b8f9e57 | 2014-10-09 12:59:01 +0200 | [diff] [blame] | 927 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 |
Gustavo Zacarias | 2d312b7 | 2014-10-06 08:44:39 -0300 | [diff] [blame] | 928 | |
Gustavo Zacarias | 911516f | 2014-08-03 23:29:22 -0300 | [diff] [blame] | 929 | config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_16 |
| 930 | bool "3.16.x" |
| 931 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16 |
| 932 | |
Gustavo Zacarias | fb29afe | 2014-06-09 08:30:33 -0300 | [diff] [blame] | 933 | config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_15 |
| 934 | bool "3.15.x" |
| 935 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15 |
| 936 | |
Samuel Martin | 11547ca | 2014-04-06 18:27:49 +0200 | [diff] [blame] | 937 | config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_14 |
| 938 | bool "3.14.x" |
| 939 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14 |
| 940 | |
Yann E. MORIN | c58bcd5 | 2014-03-01 15:52:59 +0100 | [diff] [blame] | 941 | config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_13 |
| 942 | bool "3.13.x" |
| 943 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13 |
| 944 | |
| 945 | config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_12 |
| 946 | bool "3.12.x" |
| 947 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 |
| 948 | |
| 949 | config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_11 |
| 950 | bool "3.11.x" |
| 951 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11 |
| 952 | |
| 953 | config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_10 |
| 954 | bool "3.10.x" |
| 955 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10 |
| 956 | |
| 957 | config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_9 |
| 958 | bool "3.9.x" |
| 959 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9 |
| 960 | |
| 961 | config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_8 |
| 962 | bool "3.8.x" |
| 963 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8 |
| 964 | |
| 965 | config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_7 |
| 966 | bool "3.7.x" |
| 967 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7 |
| 968 | |
| 969 | config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_6 |
| 970 | bool "3.6.x" |
| 971 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6 |
| 972 | |
| 973 | config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_5 |
| 974 | bool "3.5.x" |
| 975 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5 |
| 976 | |
| 977 | config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_4 |
| 978 | bool "3.4.x" |
| 979 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 |
| 980 | |
| 981 | config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_3 |
| 982 | bool "3.3.x" |
| 983 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3 |
| 984 | |
| 985 | config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_2 |
| 986 | bool "3.2.x" |
| 987 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2 |
| 988 | |
| 989 | config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_1 |
| 990 | bool "3.1.x" |
| 991 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1 |
| 992 | |
| 993 | config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_0 |
| 994 | bool "3.0.x" |
| 995 | select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 |
| 996 | |
| 997 | config BR2_TOOLCHAIN_EXTERNAL_HEADERS_REALLY_OLD |
| 998 | bool "2.6.x" |
| 999 | |
| 1000 | endchoice |
| 1001 | |
| 1002 | choice |
Thomas Petazzoni | 6c492d5 | 2010-12-13 17:27:39 +0100 | [diff] [blame] | 1003 | prompt "External toolchain C library" |
| 1004 | default BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC |
| 1005 | |
| 1006 | config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC |
| 1007 | bool "uClibc" |
| 1008 | select BR2_TOOLCHAIN_EXTERNAL_UCLIBC |
Thomas Petazzoni | b988292 | 2011-05-30 23:56:57 +0200 | [diff] [blame] | 1009 | # For the time being, we assume that all custom external |
| 1010 | # toolchains have shadow password support. |
| 1011 | select BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS |
Thomas Petazzoni | 692a585 | 2013-10-08 20:17:10 +0200 | [diff] [blame] | 1012 | help |
| 1013 | Select this option if your external toolchain uses the |
| 1014 | uClibc C library (available from http://www.uclibc.org/). |
Thomas Petazzoni | 6c492d5 | 2010-12-13 17:27:39 +0100 | [diff] [blame] | 1015 | |
| 1016 | config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC |
Baruch Siach | 9668893 | 2012-09-27 09:27:42 +0000 | [diff] [blame] | 1017 | bool "glibc/eglibc" |
Thomas Petazzoni | 665e13c | 2014-12-03 22:41:29 +0100 | [diff] [blame] | 1018 | depends on !BR2_STATIC_LIBS |
Thomas Petazzoni | 6c492d5 | 2010-12-13 17:27:39 +0100 | [diff] [blame] | 1019 | select BR2_TOOLCHAIN_EXTERNAL_GLIBC |
Baruch Siach | 9668893 | 2012-09-27 09:27:42 +0000 | [diff] [blame] | 1020 | help |
Thomas Petazzoni | 692a585 | 2013-10-08 20:17:10 +0200 | [diff] [blame] | 1021 | Select this option if your external toolchain uses the GNU C |
| 1022 | library (available from https://www.gnu.org/software/libc/) |
| 1023 | or its variant the eglibc library (http://www.eglibc.org/). |
| 1024 | |
| 1025 | Note: eglibc is a variant of glibc that (among other things) |
| 1026 | can be configured to exclude some of its features. Using a |
| 1027 | toolchain with eglibc configured to exclude key features may |
| 1028 | cause build failures to some packages. |
Thomas Petazzoni | 6c492d5 | 2010-12-13 17:27:39 +0100 | [diff] [blame] | 1029 | |
Thomas Petazzoni | ed3f3e4 | 2013-11-11 18:57:32 +0100 | [diff] [blame] | 1030 | comment "(e)glibc only available with shared lib support" |
Thomas Petazzoni | 665e13c | 2014-12-03 22:41:29 +0100 | [diff] [blame] | 1031 | depends on BR2_STATIC_LIBS |
Thomas Petazzoni | ed3f3e4 | 2013-11-11 18:57:32 +0100 | [diff] [blame] | 1032 | |
Thomas Petazzoni | a1d94aa | 2013-10-08 20:17:09 +0200 | [diff] [blame] | 1033 | config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_MUSL |
Peter Korsgaard | 3ed34ff | 2015-05-04 16:01:37 +0200 | [diff] [blame] | 1034 | bool "musl (experimental)" |
Thomas Petazzoni | a1d94aa | 2013-10-08 20:17:09 +0200 | [diff] [blame] | 1035 | select BR2_TOOLCHAIN_EXTERNAL_MUSL |
| 1036 | help |
| 1037 | Select this option if your external toolchain uses the |
| 1038 | 'musl' C library, available from http://www.musl-libc.org/. |
| 1039 | |
Thomas Petazzoni | 643aa23 | 2009-05-29 18:37:41 +0200 | [diff] [blame] | 1040 | endchoice |
"Steven J. Hill" | 02f71aa | 2007-02-06 18:19:38 +0000 | [diff] [blame] | 1041 | |
Thomas Petazzoni | 6c492d5 | 2010-12-13 17:27:39 +0100 | [diff] [blame] | 1042 | if BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC |
Thomas Petazzoni | fff7117 | 2010-12-13 17:27:37 +0100 | [diff] [blame] | 1043 | |
Thomas Petazzoni | fff7117 | 2010-12-13 17:27:37 +0100 | [diff] [blame] | 1044 | config BR2_TOOLCHAIN_EXTERNAL_WCHAR |
| 1045 | bool "Toolchain has WCHAR support?" |
| 1046 | select BR2_USE_WCHAR |
| 1047 | help |
| 1048 | Select this option if your external toolchain supports |
| 1049 | WCHAR. If you don't know, leave the default value, Buildroot |
| 1050 | will tell you if it's correct or not. |
| 1051 | |
| 1052 | config BR2_TOOLCHAIN_EXTERNAL_LOCALE |
| 1053 | bool "Toolchain has locale support?" |
| 1054 | select BR2_TOOLCHAIN_EXTERNAL_WCHAR |
| 1055 | select BR2_ENABLE_LOCALE |
| 1056 | help |
| 1057 | Select this option if your external toolchain has locale |
| 1058 | support. If you don't know, leave the default value, |
| 1059 | Buildroot will tell you if it's correct or not. |
| 1060 | |
Thomas Petazzoni | 9eaad20 | 2010-12-13 17:27:44 +0100 | [diff] [blame] | 1061 | config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS |
| 1062 | bool "Toolchain has threads support?" |
| 1063 | select BR2_TOOLCHAIN_HAS_THREADS |
Peter Korsgaard | 04d0689 | 2011-07-26 15:28:19 +0200 | [diff] [blame] | 1064 | default y |
Thomas Petazzoni | 9eaad20 | 2010-12-13 17:27:44 +0100 | [diff] [blame] | 1065 | help |
| 1066 | Select this option if your external toolchain has thread |
| 1067 | support. If you don't know, leave the default value, |
| 1068 | Buildroot will tell you if it's correct or not. |
| 1069 | |
Thomas Petazzoni | c64f948 | 2014-02-18 22:08:59 +0100 | [diff] [blame] | 1070 | if BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS |
| 1071 | |
Peter Korsgaard | 5931db0 | 2011-11-24 14:26:52 +0100 | [diff] [blame] | 1072 | config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG |
| 1073 | bool "Toolchain has threads debugging support?" |
Peter Korsgaard | 5931db0 | 2011-11-24 14:26:52 +0100 | [diff] [blame] | 1074 | select BR2_TOOLCHAIN_HAS_THREADS_DEBUG |
| 1075 | default y |
| 1076 | help |
| 1077 | Select this option if your external toolchain has thread |
| 1078 | debugging support. If you don't know, leave the default |
| 1079 | value, Buildroot will tell you if it's correct or not. |
| 1080 | |
Thomas Petazzoni | c64f948 | 2014-02-18 22:08:59 +0100 | [diff] [blame] | 1081 | config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_NPTL |
| 1082 | bool "Toolchain has NPTL threads support?" |
| 1083 | select BR2_TOOLCHAIN_HAS_THREADS_NPTL |
| 1084 | default y |
| 1085 | help |
| 1086 | Select this option if your external toolchain uses the NPTL |
| 1087 | (Native Posix Thread Library) implementation of Posix |
| 1088 | threads. If you don't know, leave the default value, |
| 1089 | Buildroot will tell you if it's correct or not. |
| 1090 | |
| 1091 | endif # BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS |
| 1092 | |
Thomas Petazzoni | c5866be | 2013-09-02 18:06:36 +0200 | [diff] [blame] | 1093 | config BR2_TOOLCHAIN_EXTERNAL_HAS_SSP |
| 1094 | bool "Toolchain has SSP support?" |
| 1095 | select BR2_TOOLCHAIN_HAS_SSP |
| 1096 | help |
| 1097 | Selection this option if your external toolchain has Stack |
| 1098 | Smashing Protection support enabled. If you don't know, |
| 1099 | leave the default value, Buildroot will tell you if it's |
| 1100 | correct or not. |
| 1101 | |
Thomas Petazzoni | 6c492d5 | 2010-12-13 17:27:39 +0100 | [diff] [blame] | 1102 | endif # BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC |
| 1103 | |
Thomas Petazzoni | 9fbdf06 | 2012-11-03 18:47:50 +0100 | [diff] [blame] | 1104 | config BR2_TOOLCHAIN_EXTERNAL_INET_RPC |
| 1105 | bool "Toolchain has RPC support?" |
| 1106 | select BR2_TOOLCHAIN_HAS_NATIVE_RPC |
Thomas Petazzoni | a1d94aa | 2013-10-08 20:17:09 +0200 | [diff] [blame] | 1107 | depends on !BR2_TOOLCHAIN_EXTERNAL_MUSL |
Thomas Petazzoni | 3a843a3 | 2012-11-04 07:34:29 +0000 | [diff] [blame] | 1108 | default y if BR2_TOOLCHAIN_EXTERNAL_GLIBC |
Thomas Petazzoni | 9fbdf06 | 2012-11-03 18:47:50 +0100 | [diff] [blame] | 1109 | help |
| 1110 | Select this option if your external toolchain supports |
| 1111 | RPC. If you don't know, leave the default value, Buildroot |
| 1112 | will tell you if it's correct or not. |
| 1113 | |
Thomas Petazzoni | 6b578c8 | 2010-12-13 17:27:41 +0100 | [diff] [blame] | 1114 | config BR2_TOOLCHAIN_EXTERNAL_CXX |
| 1115 | bool "Toolchain has C++ support?" |
| 1116 | select BR2_INSTALL_LIBSTDCPP |
| 1117 | help |
| 1118 | Select this option if your external toolchain has C++ |
| 1119 | support. If you don't know, leave the default value, |
| 1120 | Buildroot will tell you if it's correct or not. |
| 1121 | |
Thomas De Schampheleire | c72f54b | 2011-10-02 21:20:10 +0200 | [diff] [blame] | 1122 | config BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS |
| 1123 | string "Extra toolchain libraries to be copied to target" |
| 1124 | help |
| 1125 | If your external toolchain provides extra libraries that |
| 1126 | need to be copied to the target filesystem, enter them |
| 1127 | here, separated by spaces. They will be copied to the |
| 1128 | target's /lib directory. |
| 1129 | |
Thomas Petazzoni | 6c492d5 | 2010-12-13 17:27:39 +0100 | [diff] [blame] | 1130 | endif # BR2_TOOLCHAIN_EXTERNAL_CUSTOM |
Thomas Petazzoni | fff7117 | 2010-12-13 17:27:37 +0100 | [diff] [blame] | 1131 | |
Thomas Petazzoni | a0b6faa | 2013-04-07 00:04:33 +0000 | [diff] [blame] | 1132 | config BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY |
| 1133 | bool "Copy gdb server to the Target" |
| 1134 | depends on BR2_TOOLCHAIN_EXTERNAL |
| 1135 | help |
| 1136 | Copy the gdbserver provided by the external toolchain to the |
| 1137 | target. |
| 1138 | |
Sonic Zhang | 8b4ade8 | 2013-06-08 11:14:22 +0200 | [diff] [blame] | 1139 | # When the FDPIC shared binary format is used, the corresponding libraries are |
| 1140 | # always installed. When a different binary format is used, we offer the option |
| 1141 | # of installing the FDPIC shared libraries. |
| 1142 | config BR2_BFIN_INSTALL_FDPIC_SHARED |
Thomas De Schampheleire | bed4e27 | 2013-11-11 17:23:23 +0100 | [diff] [blame] | 1143 | bool "Install FDPIC shared libraries" |
| 1144 | depends on BR2_bfin && !BR2_BINFMT_FDPIC |
| 1145 | help |
| 1146 | The Linux kernel supports running both FDPIC and FLAT applications |
| 1147 | concurrently if the binary format specific libraries are installed |
| 1148 | properly. This option allows developer to install FDPIC libraries |
| 1149 | into a buildroot rootfs image built with binary format that is not |
| 1150 | FDPIC. |
Sonic Zhang | 8b4ade8 | 2013-06-08 11:14:22 +0200 | [diff] [blame] | 1151 | |
| 1152 | # When the FLAT shared binary format is used, we force the installation |
| 1153 | # of the corresponding libraries. When a different binary format is |
| 1154 | # used, we offer the option of installing the FLAT shared libraries. |
| 1155 | config BR2_BFIN_INSTALL_FLAT_SHARED |
Thomas De Schampheleire | bed4e27 | 2013-11-11 17:23:23 +0100 | [diff] [blame] | 1156 | bool "Install FLAT shared libraries" if !BR2_BINFMT_FLAT_SHARED |
| 1157 | depends on BR2_bfin |
| 1158 | default y if BR2_BINFMT_FLAT_SHARED |
| 1159 | help |
| 1160 | The Linux kernel supports running both FDPIC and FLAT applications |
| 1161 | concurrently if the binary format specific libraries are installed |
| 1162 | properly. This option allows developer to install FLAT libraries |
| 1163 | into a buildroot rootfs image built with binary format that is not |
| 1164 | shared FLAT. |
Sonic Zhang | 8b4ade8 | 2013-06-08 11:14:22 +0200 | [diff] [blame] | 1165 | |
Thomas Petazzoni | 6c492d5 | 2010-12-13 17:27:39 +0100 | [diff] [blame] | 1166 | endif # BR2_TOOLCHAIN_EXTERNAL |