Config.in 37 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030
  1. if BR2_TOOLCHAIN_EXTERNAL
  2. comment "Toolchain External Options"
  3. choice
  4. prompt "Toolchain"
  5. comment "glibc toolchains only available with shared lib support"
  6. depends on BR2_STATIC_LIBS
  7. comment "Linaro toolchains available for Cortex-A + EABIhf"
  8. depends on BR2_arm || BR2_armeb
  9. depends on !BR2_ARM_CPU_ARMV7A || !BR2_ARM_EABIHF
  10. depends on !BR2_STATIC_LIBS
  11. config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM
  12. bool "Linaro ARM 2016.05"
  13. depends on BR2_arm
  14. depends on BR2_ARM_CPU_ARMV7A
  15. depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
  16. depends on BR2_ARM_EABIHF
  17. depends on !BR2_STATIC_LIBS
  18. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  19. select BR2_TOOLCHAIN_HAS_SSP
  20. select BR2_TOOLCHAIN_HAS_NATIVE_RPC
  21. select BR2_INSTALL_LIBSTDCPP
  22. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
  23. select BR2_TOOLCHAIN_GCC_AT_LEAST_5
  24. select BR2_TOOLCHAIN_HAS_FORTRAN
  25. help
  26. Linaro toolchain for the ARM architecture. It uses Linaro
  27. GCC 2016.05 (based on gcc 5.3.1), Linaro GDB 2016.05 (based on
  28. GDB 7.11.1), glibc 2.21, Binutils 2016.05 (based on 2.25). It
  29. generates code that runs on all Cortex-A profile devices,
  30. but tuned for the Cortex-A9. The code generated is Thumb 2,
  31. with the hard floating point calling convention, and uses
  32. the VFPv3-D16 FPU instructions.
  33. config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB
  34. bool "Linaro armeb 2016.05"
  35. depends on BR2_armeb
  36. depends on BR2_ARM_CPU_ARMV7A
  37. depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
  38. depends on BR2_ARM_EABIHF
  39. depends on !BR2_STATIC_LIBS
  40. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  41. select BR2_TOOLCHAIN_HAS_SSP
  42. select BR2_TOOLCHAIN_HAS_NATIVE_RPC
  43. select BR2_INSTALL_LIBSTDCPP
  44. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
  45. select BR2_TOOLCHAIN_GCC_AT_LEAST_5
  46. help
  47. Linaro toolchain for the ARM big endian architecture. It
  48. uses Linaro GCC 2016.05 (based on gcc 5.3.1), Linaro GDB
  49. 2016.05 (based on GDB 7.11.1), glibc 2.21, Binutils 2016.05
  50. (based on 2.25). It generates code that runs on all Cortex-A
  51. profile devices, but tuned for the Cortex-A9. The code
  52. generated is Thumb 2, with the hard floating point calling
  53. convention, and uses the VFPv3-D16 FPU instructions.
  54. config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM
  55. bool "Sourcery CodeBench ARM 2014.05"
  56. depends on BR2_arm
  57. depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
  58. depends on BR2_ARM_EABI
  59. depends on !BR2_STATIC_LIBS
  60. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  61. select BR2_TOOLCHAIN_HAS_SSP
  62. select BR2_TOOLCHAIN_HAS_NATIVE_RPC
  63. select BR2_INSTALL_LIBSTDCPP
  64. select BR2_HOSTARCH_NEEDS_IA32_LIBS
  65. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
  66. select BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
  67. help
  68. Sourcery CodeBench toolchain for the ARM architecture, from
  69. Mentor Graphics. It uses gcc 4.8.3, binutils 2.24.51, glibc
  70. 2.18 and gdb 7.7.50, kernel headers 3.13. It has support
  71. for the following variants:
  72. - ARMv5TE, little endian, soft-float, glibc
  73. Select ARM926T, ARM10T, XScale or another ARMv5 core
  74. Select BR2_SOFT_FLOAT
  75. - ARMv4T, little endian, soft-float, glibc
  76. Select ARM720T, ARM920T, ARM922T or another ARMv4 core
  77. Select BR2_SOFT_FLOAT
  78. - ARMv7-A, Thumb 2, little endian, soft-float, glibc
  79. Select Cortex-A8, Cortex-A9 or another ARMv7-A core
  80. Select BR2_SOFT_FLOAT
  81. Set BR2_TARGET_OPTIMIZATION to -mthumb
  82. comment "Sourcery CodeBench toolchains available for the EABI ABI"
  83. depends on BR2_arm
  84. depends on !BR2_ARM_EABI
  85. depends on !BR2_STATIC_LIBS
  86. config BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV7A
  87. bool "Arago ARMv7 2011.09"
  88. depends on BR2_arm
  89. depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
  90. depends on BR2_ARM_CPU_ARMV7A
  91. depends on BR2_ARM_EABI
  92. depends on BR2_ARM_CPU_HAS_VFPV3
  93. depends on !BR2_STATIC_LIBS
  94. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  95. select BR2_TOOLCHAIN_HAS_SSP
  96. select BR2_TOOLCHAIN_HAS_NATIVE_RPC
  97. select BR2_INSTALL_LIBSTDCPP
  98. select BR2_HOSTARCH_NEEDS_IA32_LIBS
  99. select BR2_TOOLCHAIN_GCC_AT_LEAST_4_5
  100. # kernel headers: 2.6.31
  101. help
  102. Texas Instruments Arago 2011.09 toolchain, with gcc 4.5.3,
  103. binutils 2.20.1, glibc 2.12, gdb 7.2.
  104. This toolchain uses -mfloat-abi=softfp (i.e can use FPU
  105. instructions, but passes floating point function arguments
  106. in integer registers), and requires a VFPv3 floating point
  107. unit to work properly. This unit is available on most
  108. Cortex-A ARM processors, but not all.
  109. config BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV5TE
  110. bool "Arago ARMv5 2011.09"
  111. depends on BR2_arm
  112. depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
  113. depends on !BR2_ARM_CPU_ARMV4
  114. depends on BR2_ARM_EABI
  115. depends on !BR2_STATIC_LIBS
  116. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  117. select BR2_TOOLCHAIN_HAS_SSP
  118. select BR2_TOOLCHAIN_HAS_NATIVE_RPC
  119. select BR2_INSTALL_LIBSTDCPP
  120. select BR2_HOSTARCH_NEEDS_IA32_LIBS
  121. select BR2_TOOLCHAIN_GCC_AT_LEAST_4_5
  122. # kernel headers: 2.6.31
  123. help
  124. Texas Instruments Arago ARMv5 2011.09 toolchain, with gcc
  125. 4.5.3, binutils 2.20.1, glibc 2.12, gdb 7.2.
  126. This toolchain uses software-floating point.
  127. config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS
  128. bool "Sourcery CodeBench MIPS 2016.05"
  129. depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
  130. depends on BR2_MIPS_CPU_MIPS32R2 || BR2_MIPS_CPU_MIPS64R2
  131. # Unsupported MIPS cores
  132. depends on !BR2_mips_interaptiv
  133. depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
  134. depends on !BR2_MIPS_NABI32
  135. depends on !BR2_STATIC_LIBS
  136. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  137. select BR2_TOOLCHAIN_HAS_SSP
  138. select BR2_TOOLCHAIN_HAS_NATIVE_RPC
  139. select BR2_INSTALL_LIBSTDCPP
  140. select BR2_HOSTARCH_NEEDS_IA32_LIBS
  141. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4
  142. select BR2_TOOLCHAIN_GCC_AT_LEAST_5
  143. help
  144. Sourcery CodeBench toolchain for the MIPS architecture, from
  145. Mentor Graphics. It uses gcc 5.3, binutils 2.25.51, glibc
  146. 2.23, uClibc 0.9.30 and gdb 7.10.50, kernel headers 4.4.1. It
  147. has support for the following variants:
  148. - MIPS32r2 - Big-Endian, 2008 NaN, O32
  149. Select MIPS (big endian) core
  150. Disable BR2_SOFT_FLOAT
  151. Set BR2_TARGET_OPTIMIZATION to -mnan=2008
  152. - MIPS32r2 - Big-Endian, O32
  153. Select MIPS (big endian) core
  154. Disable BR2_SOFT_FLOAT
  155. - MIPS32r2 - Big-Endian, O32, MIPS16
  156. Select MIPS (big endian) core
  157. Disable BR2_SOFT_FLOAT
  158. Set BR2_TARGET_OPTIMIZATION to -mips16
  159. - MIPS32r2 - Big-Endian, Soft-Float, O32
  160. Select MIPS (big endian) core
  161. Select BR2_SOFT_FLOAT
  162. - MIPS32r2 - Big-Endian, Soft-Float, O32, MIPS16
  163. Select MIPS (big endian) core
  164. Select BR2_SOFT_FLOAT
  165. Set BR2_TARGET_OPTIMIZATION to -mips16
  166. - MIPS32r2 - Little-Endian, 2008 NaN, O32
  167. Select MIPS (little endian) core
  168. Disable BR2_SOFT_FLOAT
  169. Set BR2_TARGET_OPTIMIZATION to -mnan=2008
  170. - MIPS32r2 - Little-Endian, O32
  171. Select MIPS (little endian) core
  172. Disable BR2_SOFT_FLOAT
  173. - MIPS32r2 - Little-Endian, O32, MIPS16
  174. Select MIPS (little endian) core
  175. Disable BR2_SOFT_FLOAT
  176. Set BR2_TARGET_OPTIMIZATION to -mips16
  177. - MIPS32r2 - Little-Endian, Soft-Float, O32
  178. Select MIPS (little endian) core
  179. Select BR2_SOFT_FLOAT
  180. - MIPS32r2 - Little-Endian, Soft-Float, O32, MIPS16
  181. Select MIPS (little endian) core
  182. Select BR2_SOFT_FLOAT
  183. Set BR2_TARGET_OPTIMIZATION to -mips16
  184. - MIPS32r2 - Little-Endian, Soft-Float, O32, microMIPS
  185. Select MIPS (little endian) core
  186. Select BR2_SOFT_FLOAT
  187. Set BR2_TARGET_OPTIMIZATION to -mmicromips
  188. - MIPS32r2 - uClibc, Big-Endian, 2008 NaN, O32
  189. Not usable in Buildroot yet.
  190. - MIPS32r2 - uClibc, Big-Endian, O32
  191. Not usable in Buildroot yet.
  192. - MIPS32r2 - uClibc, Big-Endian, Soft-Float, O32
  193. Not usable in Buildroot yet.
  194. - MIPS32r2 - uClibc, Little-Endian, 2008 NaN, O32
  195. Not usable in Buildroot yet.
  196. - MIPS32r2 - uClibc, Little-Endian, O32
  197. Not usable in Buildroot yet.
  198. - MIPS32r2 - uClibc, Little-Endian, Soft-Float, O32
  199. Not usable in Buildroot yet.
  200. - MIPS64r2 - Big-Endian, N64
  201. Select MIPS64 (big endian) core
  202. Select the n64 ABI
  203. Disable BR2_SOFT_FLOAT
  204. - MIPS64r2 - Big-Endian, Soft-Float, N64
  205. Select MIPS64 (big endian) core
  206. Select the n64 ABI
  207. Select BR2_SOFT_FLOAT
  208. - MIPS64r2 - Little-Endian, N64
  209. Select MIPS64 (little endian) core
  210. Select the n64 ABI
  211. Disable BR2_SOFT_FLOAT
  212. - MIPS64r2 - Little-Endian, Soft-Float, N64
  213. Select MIPS64 (little endian) core
  214. Select the n64 ABI
  215. Select BR2_SOFT_FLOAT
  216. comment "Sourcery CodeBench toolchains are only available for MIPS/MIPS64 o32 and n64"
  217. depends on BR2_MIPS_NABI32
  218. depends on !BR2_STATIC_LIBS
  219. config BR2_TOOLCHAIN_EXTERNAL_CODESCAPE_IMG_MIPS
  220. bool "Codescape IMG GNU Linux Toolchain 2016.05"
  221. depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
  222. depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
  223. depends on BR2_MIPS_CPU_MIPS32R6 || (BR2_MIPS_CPU_MIPS64R6 && !BR2_MIPS_SOFT_FLOAT)
  224. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  225. select BR2_INSTALL_LIBSTDCPP
  226. select BR2_HOSTARCH_NEEDS_IA32_LIBS
  227. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
  228. select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
  229. select BR2_TOOLCHAIN_HAS_FORTRAN
  230. help
  231. Codescape IMG GNU Linux Toolchain 2015.10 for the MIPS
  232. architecture, from Imagination Technologies. It uses gcc
  233. 4.9.2, binutils 2.24.90, glibc 2.20, gdb 7.9.1 and kernel
  234. headers 4.0. It has support for the following variants:
  235. - MIPS32r6 - Big-Endian, Hard-Float, 2008 NaN, o32 ABI
  236. Select 'MIPS (big endian)' Target Architecture
  237. Select 'mips 32r6' Target Architecture Variant
  238. Disable 'Use soft-float'
  239. - MIPS32r6 - Big-Endian, Soft-Float, 2008 NaN, o32 ABI
  240. Select 'MIPS (big endian)' Target Architecture
  241. Select 'mips 32r6' Target Architecture Variant
  242. Enable 'Use soft-float'
  243. - MIPS32r6 - Little-Endian, Hard-Float, 2008 NaN, o32 ABI
  244. Select 'MIPS (little endian)' Target Architecture
  245. Select 'mips 32r6' Target Architecture Variant
  246. Disable 'Use soft-float'
  247. - MIPS32r6 - Little-Endian, Soft-Float, 2008 NaN, o32 ABI
  248. Select 'MIPS (little endian)' Target Architecture
  249. Select 'mips 32r6' Target Architecture Variant
  250. Enable 'Use soft-float'
  251. - MIPS32r6 - Little-Endian, Hard-Float, 2008 NaN, o32 ABI, microMIPS
  252. Select 'MIPS (little endian)' Target Architecture
  253. Select 'mips 32r6' Target Architecture Variant
  254. Disable 'Use soft-float'
  255. Set BR2_TARGET_OPTIMIZATION to '-mmicromips'
  256. - MIPS32r6 - Little-Endian, Soft-Float, 2008 NaN, o32 ABI, microMIPS
  257. Select 'MIPS (little endian)' Target Architecture
  258. Select 'mips 32r6' Target Architecture Variant
  259. Enable 'Use soft-float'
  260. Set BR2_TARGET_OPTIMIZATION to '-mmicromips'
  261. - MIPS64r6 - Big-Endian, Hard-Float, 2008 NaN, n32 ABI
  262. Select 'MIPS64 (big endian)' Target Architecture
  263. Select 'mips 64r6' Target Architecture Variant
  264. Select 'n32' Target ABI
  265. Disable 'Use soft-float'
  266. - MIPS64r6 - Little-Endian, Hard-Float, 2008 NaN, n32 ABI
  267. Select 'MIPS64 (little endian)' Target Architecture
  268. Select 'mips 64r6' Target Architecture Variant
  269. Select 'n32' Target ABI
  270. Disable 'Use soft-float'
  271. - MIPS64r6 - Big-Endian, Hard-Float, 2008 NaN, n64 ABI
  272. Select 'MIPS64 (big endian)' Target Architecture
  273. Select 'mips 64r6' Target Architecture Variant
  274. Select 'n64' Target ABI
  275. Disable 'Use soft-float'
  276. - MIPS64r6 - Little-Endian, Hard-Float, 2008 NaN, n64 ABI
  277. Select 'MIPS64 (little endian)' Target Architecture
  278. Select 'mips 64r6' Target Architecture Variant
  279. Select 'n64' Target ABI
  280. Disable 'Use soft-float'
  281. config BR2_TOOLCHAIN_EXTERNAL_CODESCAPE_MTI_MIPS
  282. bool "Codescape MTI GNU Linux Toolchain 2016.05"
  283. depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
  284. depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
  285. depends on BR2_MIPS_CPU_MIPS32R2 || (BR2_MIPS_CPU_MIPS64R2 && !BR2_MIPS_SOFT_FLOAT) || \
  286. BR2_MIPS_CPU_MIPS32R5 || (BR2_MIPS_CPU_MIPS64R5 && !BR2_MIPS_SOFT_FLOAT)
  287. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  288. select BR2_INSTALL_LIBSTDCPP
  289. select BR2_HOSTARCH_NEEDS_IA32_LIBS
  290. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
  291. select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
  292. select BR2_TOOLCHAIN_HAS_FORTRAN
  293. help
  294. Codescape MTI GNU Linux Toolchain 2015.10 for the MIPS
  295. architecture, from Imagination Technologies. It uses gcc
  296. 4.9.2, binutils 2.24.90, glibc 2.20, gdb 7.9.1 and kernel
  297. headers 4.0. It has support for the following variants:
  298. - MIPS32r2 - Big-Endian, Hard-Float, Legacy NaN, o32 ABI
  299. Select 'MIPS (big endian)' Target Architecture
  300. Select 'mips 32r2' Target Architecture Variant
  301. Disable 'Use soft-float'
  302. - MIPS32r2 - Big-Endian, Hard-Float, 2008 NaN, o32 ABI
  303. Select 'MIPS (big endian)' Target Architecture
  304. Select 'mips 32r2' Target Architecture Variant
  305. Disable 'Use soft-float'
  306. Set BR2_TARGET_OPTIMIZATION to '-mnan=2008'
  307. - MIPS32r2 - Big-Endian, Soft-Float, Legacy NaN, o32 ABI
  308. Select 'MIPS (big endian)' Target Architecture
  309. Select 'mips 32r2' Target Architecture Variant
  310. Enable 'Use soft-float'
  311. - MIPS32r2 - Little-Endian, Hard-Float, Legacy NaN, o32 ABI
  312. Select 'MIPS (little endian)' Target Architecture
  313. Select 'mips 32r2' Target Architecture Variant
  314. Disable 'Use soft-float'
  315. - MIPS32r2 - Little-Endian, Hard-Float, 2008 NaN, o32 ABI
  316. Select 'MIPS (little endian)' Target Architecture
  317. Select 'mips 32r2' Target Architecture Variant
  318. Disable 'Use soft-float'
  319. Set BR2_TARGET_OPTIMIZATION to '-mnan=2008'
  320. - MIPS32r2 - Little-Endian, Soft-Float, Legacy NaN, o32 ABI
  321. Select 'MIPS (little endian)' Target Architecture
  322. Select 'mips 32r2' Target Architecture Variant
  323. Enable 'Use soft-float'
  324. - MIPS32r2 - Little-Endian, Hard-Float, 2008 NaN, o32 ABI, microMIPS
  325. Select 'MIPS (little endian)' Target Architecture
  326. Select 'mips 32r2' Target Architecture Variant
  327. Enable 'Use soft-float'
  328. Set BR2_TARGET_OPTIMIZATION to '-mmicromips'
  329. - MIPS32r2 - Little-Endian, Soft-Float, Legacy NaN, o32 ABI, microMIPS
  330. Select 'MIPS (little endian)' Target Architecture
  331. Select 'mips 32r2' Target Architecture Variant
  332. Disable 'Use soft-float'
  333. Set BR2_TARGET_OPTIMIZATION to '-mmicromips'
  334. - MIPS64r2 - Big-Endian, Hard-Float, Legacy NaN, n32 ABI
  335. Select 'MIPS64 (big endian)' Target Architecture
  336. Select 'mips 64r2' Target Architecture Variant
  337. Select 'n32' Target ABI
  338. Disable 'Use soft-float'
  339. - MIPS64r2 - Little-Endian, Hard-Float, Legacy NaN, n32 ABI
  340. Select 'MIPS64 (little endian)' Target Architecture
  341. Select 'mips 64r2' Target Architecture Variant
  342. Select 'n32' Target ABI
  343. Disable 'Use soft-float'
  344. - MIPS64r2 - Big-Endian, Hard-Float, Legacy NaN, n64 ABI
  345. Select 'MIPS64 (big endian)' Target Architecture
  346. Select 'mips 64r2' Target Architecture Variant
  347. Select 'n64' Target ABI
  348. Disable 'Use soft-float'
  349. - MIPS64r2 - Little-Endian, Hard-Float, Legacy NaN, n64 ABI
  350. Select 'MIPS64 (little endian)' Target Architecture
  351. Select 'mips 64r2' Target Architecture Variant
  352. Select 'n64' Target ABI
  353. Disable 'Use soft-float'
  354. config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII
  355. bool "Sourcery CodeBench Nios-II 2016.05"
  356. depends on BR2_nios2
  357. depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
  358. depends on !BR2_STATIC_LIBS
  359. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  360. select BR2_TOOLCHAIN_HAS_SSP
  361. select BR2_TOOLCHAIN_HAS_NATIVE_RPC
  362. select BR2_INSTALL_LIBSTDCPP
  363. select BR2_HOSTARCH_NEEDS_IA32_LIBS
  364. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4
  365. select BR2_TOOLCHAIN_GCC_AT_LEAST_5
  366. select BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405 # based-on binutils-2.25.1
  367. help
  368. Sourcery CodeBench toolchain for the Nios-II architecture,
  369. from Mentor Graphics. It uses gcc 5.3, binutils 2.25.51,
  370. glibc 2.23, gdb 7.10.50 and kernel headers 4.4.
  371. config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH
  372. bool "Sourcery CodeBench SH 2012.09"
  373. depends on BR2_sh4a || BR2_sh4aeb
  374. depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
  375. depends on !BR2_STATIC_LIBS
  376. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  377. select BR2_TOOLCHAIN_HAS_SSP
  378. select BR2_TOOLCHAIN_HAS_NATIVE_RPC
  379. select BR2_INSTALL_LIBSTDCPP
  380. select BR2_HOSTARCH_NEEDS_IA32_LIBS
  381. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
  382. select BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
  383. help
  384. Sourcery CodeBench toolchain for the SuperH architecture,
  385. from Mentor Graphics. It uses gcc 4.7.2, binutils 2.23.51,
  386. glibc 2.16, uClibc 0.9.30, gdb 7.4.50 and kernel headers
  387. 3.5.4. It has support for the following variants:
  388. - SH4A, glibc, little endian
  389. Default.
  390. - SH4A, glibc, big endian
  391. Add -mb to BR2_TARGET_OPTIMIZATION
  392. - SH4A, uClibc, little endian
  393. Not usable in Buildroot yet.
  394. - SH4A, uClibc, big endian
  395. Not usable in Buildroot yet.
  396. config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AMD64
  397. bool "Sourcery CodeBench AMD64 2015.11"
  398. depends on BR2_x86_64
  399. depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
  400. depends on !BR2_STATIC_LIBS
  401. depends on BR2_x86_jaguar || BR2_x86_steamroller
  402. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  403. select BR2_TOOLCHAIN_HAS_SSP
  404. select BR2_TOOLCHAIN_HAS_NATIVE_RPC
  405. select BR2_INSTALL_LIBSTDCPP
  406. select BR2_HOSTARCH_NEEDS_IA32_LIBS
  407. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
  408. select BR2_TOOLCHAIN_GCC_AT_LEAST_5
  409. help
  410. Sourcery CodeBench toolchain for the amd64 (x86_64)
  411. architectures, from Mentor Graphics. It uses gcc 5.2,
  412. binutils 2.25.51, glibc 2.22, gdb 7.10.50 and kernel headers
  413. 4.2. It has support for the following variants:
  414. - AMD Puma/Jaguar (family 16h), glibc
  415. Default for x86_64, nothing special to do.
  416. - AMD Steamroller (family 15h), glibc
  417. Select a steamroller core.
  418. No other architecture variants are supported since glibc
  419. is optimized for one of these two baselines.
  420. config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86
  421. bool "Sourcery CodeBench x86/x86_64 2012.09"
  422. depends on BR2_i386 || BR2_x86_64
  423. depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
  424. depends on !BR2_STATIC_LIBS
  425. depends on !BR2_x86_jaguar
  426. depends on !BR2_x86_steamroller
  427. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  428. select BR2_TOOLCHAIN_HAS_SSP
  429. select BR2_TOOLCHAIN_HAS_NATIVE_RPC
  430. select BR2_INSTALL_LIBSTDCPP
  431. select BR2_HOSTARCH_NEEDS_IA32_LIBS
  432. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
  433. select BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
  434. help
  435. Sourcery CodeBench toolchain for the x86/x86_64
  436. architectures, from Mentor Graphics. It uses gcc 4.7.2,
  437. binutils 2.23.51, glibc 2.16, gdb 7.4.50 and kernel headers
  438. 3.5.4. It has support for the following variants:
  439. - Intel Pentium 4, glibc, 32 bits
  440. Default for x86, nothing special to do.
  441. - Intel Atom, glibc, 32 bits
  442. Select an Atom core
  443. - Intel Xeon, glibc, 64 bits
  444. Default for x86_64, nothing special to do.
  445. - Intel Core 2, glibc, 64 bits
  446. Select a Core 2 core
  447. Other architecture variants (beyond Pentium-4/Xeon) are
  448. supported as well, but glibc is not optimised for it.
  449. config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX
  450. bool "Blackfin.uclinux.org 2014R1"
  451. depends on BR2_bfin
  452. depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
  453. select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
  454. select BR2_INSTALL_LIBSTDCPP
  455. select BR2_TOOLCHAIN_HAS_NATIVE_RPC
  456. select BR2_USE_WCHAR
  457. select BR2_TOOLCHAIN_HAS_THREADS
  458. select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
  459. select BR2_HOSTARCH_NEEDS_IA32_LIBS
  460. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
  461. select BR2_TOOLCHAIN_GCC_AT_LEAST_4_3
  462. select BR2_TOOLCHAIN_HAS_FORTRAN
  463. help
  464. Toolchain for the Blackfin architecture, from
  465. http://blackfin.uclinux.org.
  466. config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64
  467. bool "Linaro AArch64 2016.05"
  468. depends on BR2_aarch64
  469. depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
  470. depends on !BR2_STATIC_LIBS
  471. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  472. select BR2_TOOLCHAIN_HAS_SSP
  473. select BR2_INSTALL_LIBSTDCPP
  474. select BR2_TOOLCHAIN_HAS_NATIVE_RPC
  475. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
  476. select BR2_TOOLCHAIN_GCC_AT_LEAST_5
  477. select BR2_TOOLCHAIN_HAS_FORTRAN
  478. help
  479. Toolchain for the AArch64 architecture, from
  480. http://www.linaro.org/engineering/armv8/
  481. config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AARCH64
  482. bool "CodeSourcery AArch64 2014.11"
  483. depends on BR2_aarch64
  484. depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
  485. depends on !BR2_STATIC_LIBS
  486. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  487. select BR2_TOOLCHAIN_HAS_SSP
  488. select BR2_INSTALL_LIBSTDCPP
  489. select BR2_HOSTARCH_NEEDS_IA32_LIBS
  490. select BR2_TOOLCHAIN_HAS_NATIVE_RPC
  491. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16
  492. select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
  493. help
  494. Sourcery CodeBench toolchain for the AArch64 architecture,
  495. from Mentor Graphics. It uses gcc 4.9.1, binutils
  496. 2.24.51.20140217, glibc 2.20, gdb 7.7.50 and kernel headers
  497. 3.16.2.
  498. config BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS
  499. bool "Musl 1.1.12 toolchain"
  500. depends on (BR2_arm && BR2_ARM_EABI && BR2_USE_MMU) || \
  501. (BR2_arm && BR2_ARM_EABIHF && !BR2_ARM_CPU_ARMV4 && BR2_USE_MMU) || \
  502. (BR2_armeb && BR2_ARM_EABI && !BR2_ARM_CPU_ARMV7A && BR2_USE_MMU) || \
  503. BR2_i386 || (BR2_mips && !BR2_SOFT_FLOAT) || \
  504. BR2_mipsel || (BR2_powerpc && BR2_powerpc_CLASSIC) || \
  505. BR2_sh4 || BR2_sh4eb || \
  506. BR2_x86_64
  507. depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
  508. # Unsupported MIPS cores
  509. depends on !BR2_mips_interaptiv && !BR2_mips_m5150
  510. # Unsupported for MIPS R6
  511. depends on !BR2_MIPS_CPU_MIPS32R6 && !BR2_MIPS_CPU_MIPS64R6
  512. select BR2_TOOLCHAIN_EXTERNAL_MUSL
  513. select BR2_TOOLCHAIN_HAS_SSP
  514. select BR2_INSTALL_LIBSTDCPP
  515. select BR2_HOSTARCH_NEEDS_IA32_LIBS
  516. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
  517. select BR2_TOOLCHAIN_GCC_AT_LEAST_5
  518. help
  519. Toolchain based on the Musl C library, provided by the
  520. musl-cross project. It uses gcc 5.3, binutils 2.25.1 and
  521. musl 1.1.12. It does not have a cross debugger included.
  522. The ARM soft-float toolchain is built for ARMv4t, while the
  523. ARM hard-float toolchain is built for ARMv5t.
  524. The x86 toolchain is built for i486.
  525. http://musl.codu.org/
  526. config BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC
  527. bool "Synopsys ARC 2014.12 toolchain"
  528. depends on BR2_arc
  529. depends on BR2_HOSTARCH = "x86_64"
  530. # does not provide IPv6, and lacks many uClibc features
  531. # expected by Buildroot. The next Synopsys toolchain version
  532. # should fix those problems.
  533. depends on BROKEN
  534. select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
  535. select BR2_INSTALL_LIBSTDCPP
  536. select BR2_TOOLCHAIN_HAS_NATIVE_RPC
  537. select BR2_ENABLE_LOCALE
  538. select BR2_USE_WCHAR
  539. select BR2_TOOLCHAIN_HAS_THREADS
  540. select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
  541. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
  542. select BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
  543. help
  544. Toolchain for the ARC cores, from
  545. https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases
  546. config BR2_TOOLCHAIN_EXTERNAL_CUSTOM
  547. bool "Custom toolchain"
  548. help
  549. Use this option to use a custom toolchain pre-installed on
  550. your system.
  551. endchoice
  552. choice
  553. prompt "Toolchain origin"
  554. # Keep compatibility with old defconfig files that are using
  555. # custom toolchains, and which are therefore assuming that
  556. # "preinstalled" in the default choice.
  557. default BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
  558. config BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD
  559. bool "Toolchain to be downloaded and installed"
  560. help
  561. Select this option if you want Buildroot to download and install the
  562. toolchain. If you have selected a custom toolchain, specify the URL
  563. in BR2_TOOLCHAIN_EXTERNAL_URL.
  564. config BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED
  565. bool "Pre-installed toolchain"
  566. help
  567. Select this option if you want to use a pre-installed toolchain.
  568. Specify the path to this toolchain in BR2_TOOLCHAIN_EXTERNAL_PATH.
  569. endchoice
  570. config BR2_TOOLCHAIN_EXTERNAL_PATH
  571. string "Toolchain path"
  572. default "/path/to/toolchain/usr"
  573. depends on BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED
  574. help
  575. Path to where the external toolchain is installed.
  576. config BR2_TOOLCHAIN_EXTERNAL_URL
  577. string "Toolchain URL"
  578. depends on BR2_TOOLCHAIN_EXTERNAL_CUSTOM && BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD
  579. help
  580. URL of the custom toolchain tarball to download and install.
  581. config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX
  582. string "Toolchain prefix"
  583. depends on BR2_TOOLCHAIN_EXTERNAL_CUSTOM
  584. default "$(ARCH)-linux"
  585. config BR2_TOOLCHAIN_EXTERNAL_PREFIX
  586. string
  587. default "arc-linux" if BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC && BR2_arcle
  588. default "arceb-linux" if BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC && BR2_arceb
  589. default "arm-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM
  590. default "armeb-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB
  591. default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM
  592. default "arm-arago-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV7A
  593. default "arm-arago-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV5TE
  594. default "aarch64-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64
  595. default "aarch64-amd-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AARCH64
  596. default "mips-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS
  597. default "nios2-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII
  598. default "sh-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH
  599. default "i686-pc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86
  600. default "x86_64-amd-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AMD64
  601. default "bfin-uclinux" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX && BR2_BINFMT_FLAT
  602. default "bfin-linux-uclibc" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX && BR2_BINFMT_FDPIC
  603. default "arm-linux-musleabi" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_arm && BR2_ARM_EABI
  604. default "arm-linux-musleabihf" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_arm && BR2_ARM_EABIHF
  605. default "mips-img-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESCAPE_IMG_MIPS
  606. default "mips-mti-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESCAPE_MTI_MIPS
  607. default "armeb-linux-musleabi" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_armeb
  608. default "i486-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_i386
  609. default "mips-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && (BR2_mips && !BR2_SOFT_FLOAT)
  610. default "mipsel-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && (BR2_mipsel && !BR2_SOFT_FLOAT)
  611. default "mipsel-sf-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && (BR2_mipsel && BR2_SOFT_FLOAT)
  612. default "powerpc-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_powerpc
  613. default "sh4-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_sh4
  614. default "sh4eb-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_sh4eb
  615. default "x86_64-linux-musl" if BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS && BR2_x86_64
  616. default BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX \
  617. if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
  618. config BR2_TOOLCHAIN_EXTERNAL_GLIBC
  619. bool
  620. select BR2_TOOLCHAIN_USES_GLIBC
  621. config BR2_TOOLCHAIN_EXTERNAL_UCLIBC
  622. bool
  623. select BR2_TOOLCHAIN_USES_UCLIBC
  624. config BR2_TOOLCHAIN_EXTERNAL_MUSL
  625. bool
  626. select BR2_TOOLCHAIN_USES_MUSL
  627. # Compatibility headers: cdefs.h, queue.h
  628. select BR2_PACKAGE_MUSL_COMPAT_HEADERS
  629. if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
  630. choice
  631. bool "External toolchain gcc version"
  632. default BR2_TOOLCHAIN_EXTERNAL_GCC_4_3
  633. help
  634. Set to the gcc version that is used by your external
  635. toolchain.
  636. config BR2_TOOLCHAIN_EXTERNAL_GCC_6
  637. bool "6.x"
  638. select BR2_TOOLCHAIN_GCC_AT_LEAST_6
  639. config BR2_TOOLCHAIN_EXTERNAL_GCC_5
  640. bool "5.x"
  641. select BR2_TOOLCHAIN_GCC_AT_LEAST_5
  642. config BR2_TOOLCHAIN_EXTERNAL_GCC_4_9
  643. bool "4.9.x"
  644. select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
  645. config BR2_TOOLCHAIN_EXTERNAL_GCC_4_8
  646. bool "4.8.x"
  647. select BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
  648. config BR2_TOOLCHAIN_EXTERNAL_GCC_4_7
  649. bool "4.7.x"
  650. select BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
  651. config BR2_TOOLCHAIN_EXTERNAL_GCC_4_6
  652. bool "4.6.x"
  653. select BR2_TOOLCHAIN_GCC_AT_LEAST_4_6
  654. config BR2_TOOLCHAIN_EXTERNAL_GCC_4_5
  655. bool "4.5.x"
  656. select BR2_TOOLCHAIN_GCC_AT_LEAST_4_5
  657. config BR2_TOOLCHAIN_EXTERNAL_GCC_4_4
  658. bool "4.4.x"
  659. select BR2_TOOLCHAIN_GCC_AT_LEAST_4_4
  660. config BR2_TOOLCHAIN_EXTERNAL_GCC_4_3
  661. bool "4.3.x"
  662. select BR2_TOOLCHAIN_GCC_AT_LEAST_4_3
  663. endchoice
  664. choice
  665. bool "External toolchain kernel headers series"
  666. default BR2_TOOLCHAIN_EXTERNAL_HEADERS_REALLY_OLD
  667. help
  668. Set to the kernel headers version that were used to build
  669. this external toolchain.
  670. This is used to hide/show some packages that have strict
  671. requirements on the version of kernel headers.
  672. If unsure what version your toolchain is using, you can look
  673. at the value of LINUX_VERSION_CODE in linux/version.h in your
  674. toolchain. The Linux version is M.m.p, with:
  675. M = ( LINUX_VERSION_CODE >> 16 ) & 0xFF
  676. m = ( LINUX_VERSION_CODE >> 8 ) & 0xFF
  677. p = ( LINUX_VERSION_CODE >> 0 ) & 0xFF
  678. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_8
  679. bool "4.8.x"
  680. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8
  681. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_7
  682. bool "4.7.x"
  683. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7
  684. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_6
  685. bool "4.6.x"
  686. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6
  687. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_5
  688. bool "4.5.x"
  689. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5
  690. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_4
  691. bool "4.4.x"
  692. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4
  693. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_3
  694. bool "4.3.x"
  695. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3
  696. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_2
  697. bool "4.2.x"
  698. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
  699. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_1
  700. bool "4.1.x"
  701. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1
  702. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_0
  703. bool "4.0.x"
  704. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
  705. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_19
  706. bool "3.19.x"
  707. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19
  708. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_18
  709. bool "3.18.x"
  710. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
  711. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_17
  712. bool "3.17.x"
  713. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
  714. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_16
  715. bool "3.16.x"
  716. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16
  717. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_15
  718. bool "3.15.x"
  719. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
  720. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_14
  721. bool "3.14.x"
  722. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
  723. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_13
  724. bool "3.13.x"
  725. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
  726. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_12
  727. bool "3.12.x"
  728. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
  729. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_11
  730. bool "3.11.x"
  731. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
  732. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_10
  733. bool "3.10.x"
  734. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
  735. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_9
  736. bool "3.9.x"
  737. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
  738. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_8
  739. bool "3.8.x"
  740. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
  741. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_7
  742. bool "3.7.x"
  743. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
  744. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_6
  745. bool "3.6.x"
  746. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6
  747. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_5
  748. bool "3.5.x"
  749. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
  750. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_4
  751. bool "3.4.x"
  752. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
  753. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_3
  754. bool "3.3.x"
  755. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
  756. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_2
  757. bool "3.2.x"
  758. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
  759. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_1
  760. bool "3.1.x"
  761. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
  762. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_0
  763. bool "3.0.x"
  764. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
  765. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_REALLY_OLD
  766. bool "2.6.x"
  767. endchoice
  768. choice
  769. prompt "External toolchain C library"
  770. default BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
  771. config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
  772. bool "uClibc/uClibc-ng"
  773. select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
  774. # For the time being, we assume that all custom external
  775. # toolchains have shadow password support.
  776. select BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
  777. help
  778. Select this option if your external toolchain uses the
  779. uClibc (available from http://www.uclibc.org/)
  780. or uClibc-ng (available from http://www.uclibc-ng.org)
  781. C library.
  782. config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC
  783. bool "glibc/eglibc"
  784. depends on !BR2_STATIC_LIBS
  785. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  786. help
  787. Select this option if your external toolchain uses the GNU C
  788. library (available from https://www.gnu.org/software/libc/)
  789. or its variant the eglibc library (http://www.eglibc.org/).
  790. Note: eglibc is a variant of glibc that (among other things)
  791. can be configured to exclude some of its features. Using a
  792. toolchain with eglibc configured to exclude key features may
  793. cause build failures to some packages.
  794. comment "glibc only available with shared lib support"
  795. depends on BR2_STATIC_LIBS
  796. config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_MUSL
  797. bool "musl"
  798. select BR2_TOOLCHAIN_EXTERNAL_MUSL
  799. help
  800. Select this option if your external toolchain uses the
  801. 'musl' C library, available from http://www.musl-libc.org/.
  802. endchoice
  803. if BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
  804. config BR2_TOOLCHAIN_EXTERNAL_WCHAR
  805. bool "Toolchain has WCHAR support?"
  806. select BR2_USE_WCHAR
  807. help
  808. Select this option if your external toolchain supports
  809. WCHAR. If you don't know, leave the default value, Buildroot
  810. will tell you if it's correct or not.
  811. config BR2_TOOLCHAIN_EXTERNAL_LOCALE
  812. bool "Toolchain has locale support?"
  813. select BR2_TOOLCHAIN_EXTERNAL_WCHAR
  814. select BR2_ENABLE_LOCALE
  815. help
  816. Select this option if your external toolchain has locale
  817. support. If you don't know, leave the default value,
  818. Buildroot will tell you if it's correct or not.
  819. config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
  820. bool "Toolchain has threads support?"
  821. select BR2_TOOLCHAIN_HAS_THREADS
  822. default y
  823. help
  824. Select this option if your external toolchain has thread
  825. support. If you don't know, leave the default value,
  826. Buildroot will tell you if it's correct or not.
  827. if BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
  828. config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG
  829. bool "Toolchain has threads debugging support?"
  830. select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
  831. default y
  832. help
  833. Select this option if your external toolchain has thread
  834. debugging support. If you don't know, leave the default
  835. value, Buildroot will tell you if it's correct or not.
  836. config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_NPTL
  837. bool "Toolchain has NPTL threads support?"
  838. select BR2_TOOLCHAIN_HAS_THREADS_NPTL
  839. default y
  840. help
  841. Select this option if your external toolchain uses the NPTL
  842. (Native Posix Thread Library) implementation of Posix
  843. threads. If you don't know, leave the default value,
  844. Buildroot will tell you if it's correct or not.
  845. endif # BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
  846. endif # BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
  847. config BR2_TOOLCHAIN_EXTERNAL_HAS_SSP
  848. bool "Toolchain has SSP support?"
  849. select BR2_TOOLCHAIN_HAS_SSP
  850. default y if BR2_TOOLCHAIN_EXTERNAL_GLIBC
  851. default y if BR2_TOOLCHAIN_EXTERNAL_MUSL
  852. help
  853. Selection this option if your external toolchain has Stack
  854. Smashing Protection support enabled. If you don't know,
  855. leave the default value, Buildroot will tell you if it's
  856. correct or not.
  857. config BR2_TOOLCHAIN_EXTERNAL_INET_RPC
  858. bool "Toolchain has RPC support?"
  859. select BR2_TOOLCHAIN_HAS_NATIVE_RPC
  860. depends on !BR2_TOOLCHAIN_EXTERNAL_MUSL
  861. default y if BR2_TOOLCHAIN_EXTERNAL_GLIBC
  862. help
  863. Select this option if your external toolchain supports
  864. RPC. If you don't know, leave the default value, Buildroot
  865. will tell you if it's correct or not.
  866. config BR2_TOOLCHAIN_EXTERNAL_CXX
  867. bool "Toolchain has C++ support?"
  868. select BR2_INSTALL_LIBSTDCPP
  869. help
  870. Select this option if your external toolchain has C++
  871. support. If you don't know, leave the default value,
  872. Buildroot will tell you if it's correct or not.
  873. config BR2_TOOLCHAIN_EXTERNAL_FORTRAN
  874. bool "Toolchain has Fortran support?"
  875. select BR2_TOOLCHAIN_HAS_FORTRAN
  876. help
  877. Select this option if your external toolchain has Fortran
  878. support. If you don't know, leave the default value,
  879. Buildroot will tell you if it's correct or not.
  880. config BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS
  881. string "Extra toolchain libraries to be copied to target"
  882. help
  883. If your external toolchain provides extra libraries that
  884. need to be copied to the target filesystem, enter them
  885. here, separated by spaces.
  886. endif # BR2_TOOLCHAIN_EXTERNAL_CUSTOM
  887. config BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY
  888. bool "Copy gdb server to the Target"
  889. depends on BR2_TOOLCHAIN_EXTERNAL
  890. help
  891. Copy the gdbserver provided by the external toolchain to the
  892. target.
  893. # When the FDPIC shared binary format is used, the corresponding libraries are
  894. # always installed. When a different binary format is used, we offer the option
  895. # of installing the FDPIC shared libraries.
  896. config BR2_BFIN_INSTALL_FDPIC_SHARED
  897. bool "Install FDPIC shared libraries"
  898. depends on BR2_bfin && !BR2_BINFMT_FDPIC
  899. help
  900. The Linux kernel supports running both FDPIC and FLAT applications
  901. concurrently if the binary format specific libraries are installed
  902. properly. This option allows developer to install FDPIC libraries
  903. into a buildroot rootfs image built with binary format that is not
  904. FDPIC.
  905. # When the FLAT shared binary format is used, we force the installation
  906. # of the corresponding libraries. When a different binary format is
  907. # used, we offer the option of installing the FLAT shared libraries.
  908. config BR2_BFIN_INSTALL_FLAT_SHARED
  909. bool "Install FLAT shared libraries" if !BR2_BINFMT_FLAT_SHARED
  910. depends on BR2_bfin
  911. default y if BR2_BINFMT_FLAT_SHARED
  912. help
  913. The Linux kernel supports running both FDPIC and FLAT applications
  914. concurrently if the binary format specific libraries are installed
  915. properly. This option allows developer to install FLAT libraries
  916. into a buildroot rootfs image built with binary format that is not
  917. shared FLAT.
  918. endif # BR2_TOOLCHAIN_EXTERNAL