Config.in 38 KB

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