Config.in 40 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082
  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_PREFER_STATIC_LIB
  6. config BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_11
  7. bool "Linaro 2013.11"
  8. depends on BR2_arm
  9. depends on BR2_GCC_TARGET_ARCH = "armv7-a"
  10. depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
  11. depends on BR2_ARM_EABIHF
  12. depends on !BR2_PREFER_STATIC_LIB
  13. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  14. select BR2_TOOLCHAIN_HAS_NATIVE_RPC
  15. select BR2_INSTALL_LIBSTDCPP
  16. select BR2_HOSTARCH_NEEDS_IA32_LIBS
  17. help
  18. Linaro toolchain for the ARM architecture. It uses Linaro
  19. GCC 2013.11 (based on gcc 4.8), Linaro GDB 2013.10 (based on
  20. GDB 7.6), eglibc 2.18, Binutils 2013.10 (based on 2.23). It
  21. generates code that runs on all Cortex-A profile devices,
  22. but tuned for the Cortex-A9. The code generated is Thumb 2,
  23. with the hard floating point calling convention, and uses
  24. the VFPv3-D16 FPU instructions.
  25. To use this toolchain, you must disable soft float usage.
  26. config BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_10
  27. bool "Linaro 2013.10"
  28. depends on BR2_arm
  29. depends on BR2_GCC_TARGET_ARCH = "armv7-a"
  30. depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
  31. depends on BR2_ARM_EABIHF
  32. depends on !BR2_PREFER_STATIC_LIB
  33. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  34. select BR2_TOOLCHAIN_HAS_NATIVE_RPC
  35. select BR2_INSTALL_LIBSTDCPP
  36. select BR2_HOSTARCH_NEEDS_IA32_LIBS
  37. help
  38. Linaro toolchain for the ARM architecture. It uses Linaro
  39. GCC 2013.10 (based on gcc 4.8), Linaro GDB 2013.10 (based on
  40. GDB 7.6), eglibc 2.18, Binutils 2013.10 (based on 2.23). It
  41. generates code that runs on all Cortex-A profile devices,
  42. but tuned for the Cortex-A9. The code generated is Thumb 2,
  43. with the hard floating point calling convention, and uses
  44. the VFPv3-D16 FPU instructions.
  45. To use this toolchain, you must disable soft float usage.
  46. config BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_09
  47. bool "Linaro 2013.09"
  48. depends on BR2_arm
  49. depends on BR2_GCC_TARGET_ARCH = "armv7-a"
  50. depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
  51. depends on BR2_ARM_EABIHF
  52. depends on !BR2_PREFER_STATIC_LIB
  53. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  54. select BR2_TOOLCHAIN_HAS_NATIVE_RPC
  55. select BR2_INSTALL_LIBSTDCPP
  56. select BR2_HOSTARCH_NEEDS_IA32_LIBS
  57. help
  58. Linaro toolchain for the ARM architecture. It uses Linaro
  59. GCC 2013.09 (based on gcc 4.8), Linaro GDB 2013.05 (based on
  60. GDB 7.6), eglibc 2.17, Binutils 2013.06 (based on 2.23). It
  61. generates code that runs on all Cortex-A profile devices,
  62. but tuned for the Cortex-A9. The code generated is Thumb 2,
  63. with the hard floating point calling convention, and uses
  64. the VFPv3-D16 FPU instructions.
  65. To use this toolchain, you must disable soft float usage.
  66. comment "Linaro toolchains available for Cortex-A + EABIhf"
  67. depends on BR2_arm
  68. depends on BR2_GCC_TARGET_ARCH != "armv7-a" || !BR2_ARM_EABIHF
  69. depends on !BR2_PREFER_STATIC_LIB
  70. config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201311
  71. bool "Sourcery CodeBench ARM 2013.11"
  72. depends on BR2_arm
  73. depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
  74. depends on BR2_ARM_EABI
  75. depends on !BR2_PREFER_STATIC_LIB
  76. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  77. select BR2_TOOLCHAIN_HAS_NATIVE_RPC
  78. select BR2_INSTALL_LIBSTDCPP
  79. select BR2_HOSTARCH_NEEDS_IA32_LIBS
  80. help
  81. Sourcery CodeBench toolchain for the ARM architecture, from
  82. Mentor Graphics. It uses gcc 4.8.1, binutils 2.23.52, glibc
  83. 2.18 and gdb 7.6.50, kernel headers 3.11. It has support
  84. for the following variants:
  85. - ARMv5TE, little endian, soft-float, glibc
  86. Select ARM926T, ARM10T, XScale or another ARMv5 core
  87. Select BR2_SOFT_FLOAT
  88. - ARMv4T, little endian, soft-float, glibc
  89. Select ARM720T, ARM920T, ARM922T or another ARMv4 core
  90. Select BR2_SOFT_FLOAT
  91. - ARMv7-A, Thumb 2, little endian, soft-float, glibc
  92. Select Cortex-A8, Cortex-A9 or another ARMv7-A core
  93. Select BR2_SOFT_FLOAT
  94. Set BR2_TARGET_OPTIMIZATION to -mthumb
  95. config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201305
  96. bool "Sourcery CodeBench ARM 2013.05"
  97. depends on BR2_arm
  98. depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
  99. depends on BR2_ARM_EABI
  100. depends on !BR2_PREFER_STATIC_LIB
  101. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  102. select BR2_TOOLCHAIN_HAS_NATIVE_RPC
  103. select BR2_INSTALL_LIBSTDCPP
  104. select BR2_HOSTARCH_NEEDS_IA32_LIBS
  105. help
  106. Sourcery CodeBench toolchain for the ARM architecture, from
  107. Mentor Graphics. It uses gcc 4.7.3, binutils 2.23.52, glibc
  108. 2.17 and gdb 7.4.50, kernel headers 3.8.2. It has support
  109. for the following variants:
  110. - ARMv5TE, little endian, soft-float, glibc
  111. Select ARM926T, ARM10T, XScale or another ARMv5 core
  112. Select BR2_SOFT_FLOAT
  113. - ARMv4T, little endian, soft-float, glibc
  114. Select ARM720T, ARM920T, ARM922T or another ARMv4 core
  115. Select BR2_SOFT_FLOAT
  116. - ARMv7-A, Thumb 2, little endian, soft-float, glibc
  117. Select Cortex-A8, Cortex-A9 or another ARMv7-A core
  118. Select BR2_SOFT_FLOAT
  119. Set BR2_TARGET_OPTIMIZATION to -mthumb
  120. config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201203
  121. bool "Sourcery CodeBench ARM 2012.03"
  122. depends on BR2_arm
  123. depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
  124. depends on BR2_ARM_EABI
  125. depends on !BR2_PREFER_STATIC_LIB
  126. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  127. select BR2_TOOLCHAIN_HAS_NATIVE_RPC
  128. select BR2_INSTALL_LIBSTDCPP
  129. select BR2_HOSTARCH_NEEDS_IA32_LIBS
  130. help
  131. Sourcery CodeBench toolchain for the ARM architecture, from
  132. Mentor Graphics. It uses gcc 4.6.3, binutils 2.21.53, glibc
  133. 2.15 and gdb 7.2.50, kernel headers 3.2.10. It has support
  134. for the following variants:
  135. - ARMv5TE, little endian, soft-float, glibc
  136. Select ARM926T, ARM10T, XScale or another ARMv5 core
  137. Select BR2_SOFT_FLOAT
  138. - ARMv4T, little endian, soft-float, glibc
  139. Select ARM720T, ARM920T, ARM922T or another ARMv4 core
  140. Select BR2_SOFT_FLOAT
  141. - ARMv7-A, Thumb 2, little endian, soft-float, glibc
  142. Select Cortex-A8, Cortex-A9 or another ARMv7-A core
  143. Select BR2_SOFT_FLOAT
  144. Set BR2_TARGET_OPTIMIZATION to -mthumb
  145. comment "Sourcery CodeBench toolchains available for the EABI ABI"
  146. depends on BR2_arm
  147. depends on !BR2_ARM_EABI
  148. depends on !BR2_PREFER_STATIC_LIB
  149. config BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV7A_201109
  150. bool "Arago ARMv7 2011.09"
  151. depends on BR2_arm
  152. depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
  153. depends on BR2_GCC_TARGET_ARCH = "armv7-a"
  154. depends on BR2_ARM_EABI
  155. depends on BR2_ARM_CPU_HAS_VFPV3 || BR2_ARM_CPU_MAYBE_HAS_VFPV3
  156. depends on !BR2_PREFER_STATIC_LIB
  157. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  158. select BR2_TOOLCHAIN_HAS_NATIVE_RPC
  159. select BR2_INSTALL_LIBSTDCPP
  160. select BR2_HOSTARCH_NEEDS_IA32_LIBS
  161. help
  162. Texas Instruments Arago 2011.09 toolchain, with gcc 4.5.3,
  163. binutils 2.20.1, glibc 2.12, gdb 7.2.
  164. This toolchain uses -mfloat-abi=softfp (i.e can use FPU
  165. instructions, but passes floating point function arguments
  166. in integer registers), and requires a VFPv3 floating point
  167. unit to work properly. This unit is available on most
  168. Cortex-A ARM processors, but not all.
  169. config BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV5TE_201109
  170. bool "Arago ARMv5 2011.09"
  171. depends on BR2_arm
  172. depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
  173. depends on BR2_GCC_TARGET_ARCH != "armv4t" && \
  174. BR2_GCC_TARGET_ARCH != "armv4" && \
  175. BR2_GCC_TARGET_ARCH != "armv5t"
  176. depends on BR2_ARM_EABI
  177. depends on !BR2_PREFER_STATIC_LIB
  178. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  179. select BR2_TOOLCHAIN_HAS_NATIVE_RPC
  180. select BR2_INSTALL_LIBSTDCPP
  181. select BR2_HOSTARCH_NEEDS_IA32_LIBS
  182. help
  183. Texas Instruments Arago ARMv5 2011.09 toolchain, with gcc
  184. 4.5.3, binutils 2.20.1, glibc 2.12, gdb 7.2.
  185. This toolchain uses software-floating point.
  186. config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201311
  187. bool "Sourcery CodeBench MIPS 2013.11"
  188. depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
  189. depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
  190. depends on !BR2_MIPS_NABI32
  191. depends on !BR2_PREFER_STATIC_LIB
  192. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  193. select BR2_TOOLCHAIN_HAS_NATIVE_RPC
  194. select BR2_INSTALL_LIBSTDCPP
  195. select BR2_HOSTARCH_NEEDS_IA32_LIBS
  196. help
  197. Sourcery CodeBench toolchain for the MIPS architecture, from
  198. Mentor Graphics. It uses gcc 4.8.1, binutils 2.23.52, glibc
  199. 2.18, uClibc 0.9.30 and gdb 7.6.50, kernel headers
  200. 3.11. It has support for the following variants:
  201. - MIPS32 O32 big endian glibc
  202. Select a MIPS generic core
  203. Disable BR2_SOFT_FLOAT
  204. - MIPS64 big endian glibc
  205. Select a MIPS64 generic core
  206. Select the n64 ABI
  207. Disable BR2_SOFT_FLOAT
  208. - MIPS32 O32 little endian glibc
  209. Select a MIPS generic core
  210. Disable BR2_SOFT_FLOAT
  211. - MIPS64 little endian glibc
  212. Select a MIPS64 generic core
  213. Select the n64 ABI
  214. Disable BR2_SOFT_FLOAT
  215. - MIPS32 big endian soft float glibc
  216. Select a MIPS generic core
  217. Select BR2_SOFT_FLOAT
  218. - MIPS64 big endian soft float glibc
  219. Select a MIPS64 generic core
  220. Select the n64 ABI
  221. Select BR2_SOFT_FLOAT
  222. - MIPS32 little endian soft float glibc
  223. Select a MIPS generic core
  224. Select BR2_SOFT_FLOAT
  225. - MIPS64 little endian soft float glibc
  226. Select a MIPS64 generic core
  227. Select the n64 ABI
  228. Select BR2_SOFT_FLOAT
  229. - MIPS32 big endian microMIPS glibc
  230. Select a MIPS generic core
  231. Disable BR2_SOFT_FLOAT
  232. Set BR2_TARGET_OPTIMIZATION to -mips16
  233. - MIPS32 little endian microMIPS glibc
  234. Select a MIPS generic core
  235. Disable BR2_SOFT_FLOAT
  236. Set BR2_TARGET_OPTIMIZATION to -mips16
  237. - MIPS32 big endian soft float microMIPS glibc
  238. Select a MIPS generic core
  239. Select BR2_SOFT_FLOAT
  240. Set BR2_TARGET_OPTIMIZATION to -mips16
  241. - MIPS32 little endian soft float microMIPS glibc
  242. Select a MIPS generic core
  243. Select BR2_SOFT_FLOAT
  244. Set BR2_TARGET_OPTIMIZATION to -mips16
  245. - MIPS32 big endian uclibc
  246. Not usable in Buildroot yet.
  247. - MIPS32 little endian uclibc
  248. Not usable in Buildroot yet.
  249. - MIPS32 big endian soft float uclibc
  250. Not usable in Buildroot yet.
  251. - MIPS32 little endian soft float uclibc
  252. Not usable in Buildroot yet.
  253. config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201305
  254. bool "Sourcery CodeBench MIPS 2013.05"
  255. depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
  256. depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
  257. depends on !BR2_MIPS_NABI32
  258. depends on !BR2_PREFER_STATIC_LIB
  259. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  260. select BR2_TOOLCHAIN_HAS_NATIVE_RPC
  261. select BR2_INSTALL_LIBSTDCPP
  262. select BR2_HOSTARCH_NEEDS_IA32_LIBS
  263. help
  264. Sourcery CodeBench toolchain for the MIPS architecture, from
  265. Mentor Graphics. It uses gcc 4.7.3, binutils 2.23.52, glibc
  266. 2.17, uClibc 0.9.30 and gdb 7.4.50, kernel headers
  267. 3.8.2. It has support for the following variants:
  268. - MIPS32 O32 big endian glibc
  269. Select a MIPS generic core
  270. Disable BR2_SOFT_FLOAT
  271. - MIPS64 big endian glibc
  272. Select a MIPS64 generic core
  273. Select the n64 ABI
  274. Disable BR2_SOFT_FLOAT
  275. - MIPS32 O32 little endian glibc
  276. Select a MIPS generic core
  277. Disable BR2_SOFT_FLOAT
  278. - MIPS64 little endian glibc
  279. Select a MIPS64 generic core
  280. Select the n64 ABI
  281. Disable BR2_SOFT_FLOAT
  282. - MIPS32 big endian soft float glibc
  283. Select a MIPS generic core
  284. Select BR2_SOFT_FLOAT
  285. - MIPS64 big endian soft float glibc
  286. Select a MIPS64 generic core
  287. Select the n64 ABI
  288. Select BR2_SOFT_FLOAT
  289. - MIPS32 little endian soft float glibc
  290. Select a MIPS generic core
  291. Select BR2_SOFT_FLOAT
  292. - MIPS64 little endian soft float glibc
  293. Select a MIPS64 generic core
  294. Select the n64 ABI
  295. Select BR2_SOFT_FLOAT
  296. - MIPS32 big endian microMIPS glibc
  297. Select a MIPS generic core
  298. Disable BR2_SOFT_FLOAT
  299. Set BR2_TARGET_OPTIMIZATION to -mips16
  300. - MIPS32 little endian microMIPS glibc
  301. Select a MIPS generic core
  302. Disable BR2_SOFT_FLOAT
  303. Set BR2_TARGET_OPTIMIZATION to -mips16
  304. - MIPS32 big endian soft float microMIPS glibc
  305. Select a MIPS generic core
  306. Select BR2_SOFT_FLOAT
  307. Set BR2_TARGET_OPTIMIZATION to -mips16
  308. - MIPS32 little endian soft float microMIPS glibc
  309. Select a MIPS generic core
  310. Select BR2_SOFT_FLOAT
  311. Set BR2_TARGET_OPTIMIZATION to -mips16
  312. - MIPS32 big endian uclibc
  313. Not usable in Buildroot yet.
  314. - MIPS32 little endian uclibc
  315. Not usable in Buildroot yet.
  316. - MIPS32 big endian soft float uclibc
  317. Not usable in Buildroot yet.
  318. - MIPS32 little endian soft float uclibc
  319. Not usable in Buildroot yet.
  320. config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201209
  321. bool "Sourcery CodeBench MIPS 2012.09"
  322. depends on BR2_mips || BR2_mipsel
  323. depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
  324. depends on !BR2_MIPS_NABI32
  325. depends on !BR2_PREFER_STATIC_LIB
  326. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  327. select BR2_TOOLCHAIN_HAS_NATIVE_RPC
  328. select BR2_INSTALL_LIBSTDCPP
  329. select BR2_HOSTARCH_NEEDS_IA32_LIBS
  330. help
  331. Sourcery CodeBench toolchain for the MIPS architecture, from
  332. Mentor Graphics. It uses gcc 4.7.2, binutils 2.23.51, glibc
  333. 2.16, uClibc 0.9.30 and gdb 7.4.50, kernel headers
  334. 3.5.4. It has support for the following variants:
  335. - MIPS32 O32 big endian glibc
  336. Select a MIPS generic core
  337. Disable BR2_SOFT_FLOAT
  338. - MIPS64 big endian glibc
  339. Select a MIPS64 generic core
  340. Select the n64 ABI
  341. Disable BR2_SOFT_FLOAT
  342. - MIPS32 O32 little endian glibc
  343. Select a MIPS generic core
  344. Disable BR2_SOFT_FLOAT
  345. - MIPS64 little endian glibc
  346. Select a MIPS64 generic core
  347. Select the n64 ABI
  348. Disable BR2_SOFT_FLOAT
  349. - MIPS32 big endian soft float glibc
  350. Select a MIPS generic core
  351. Select BR2_SOFT_FLOAT
  352. - MIPS64 big endian soft float glibc
  353. Select a MIPS64 generic core
  354. Select the n64 ABI
  355. Select BR2_SOFT_FLOAT
  356. - MIPS32 little endian soft float glibc
  357. Select a MIPS generic core
  358. Select BR2_SOFT_FLOAT
  359. - MIPS64 little endian soft float glibc
  360. Select a MIPS64 generic core
  361. Select the n64 ABI
  362. Select BR2_SOFT_FLOAT
  363. - MIPS32 big endian microMIPS glibc
  364. Select a MIPS generic core
  365. Disable BR2_SOFT_FLOAT
  366. Set BR2_TARGET_OPTIMIZATION to -mips16
  367. - MIPS32 little endian microMIPS glibc
  368. Select a MIPS generic core
  369. Disable BR2_SOFT_FLOAT
  370. Set BR2_TARGET_OPTIMIZATION to -mips16
  371. - MIPS32 big endian soft float microMIPS glibc
  372. Select a MIPS generic core
  373. Select BR2_SOFT_FLOAT
  374. Set BR2_TARGET_OPTIMIZATION to -mips16
  375. - MIPS32 little endian soft float microMIPS glibc
  376. Select a MIPS generic core
  377. Select BR2_SOFT_FLOAT
  378. Set BR2_TARGET_OPTIMIZATION to -mips16
  379. - MIPS32 big endian uclibc
  380. Not usable in Buildroot yet.
  381. - MIPS32 little endian uclibc
  382. Not usable in Buildroot yet.
  383. - MIPS32 big endian soft float uclibc
  384. Not usable in Buildroot yet.
  385. - MIPS32 little endian soft float uclibc
  386. Not usable in Buildroot yet.
  387. comment "Sourcery CodeBench toolchains are only available for MIPS/MIPS64 o32 and n64"
  388. depends on BR2_MIPS_NABI32
  389. depends on !BR2_PREFER_STATIC_LIB
  390. config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201305
  391. bool "Sourcery CodeBench Nios-II 2013.05"
  392. depends on BR2_nios2
  393. depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
  394. depends on !BR2_PREFER_STATIC_LIB
  395. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  396. select BR2_TOOLCHAIN_HAS_NATIVE_RPC
  397. select BR2_INSTALL_LIBSTDCPP
  398. select BR2_HOSTARCH_NEEDS_IA32_LIBS
  399. help
  400. Sourcery CodeBench toolchain for the Nios-II architecture,
  401. from Mentor Graphics. It uses gcc 4.7.3, binutils 2.23.52,
  402. glibc 2.17, gdb 7.4.50 and kernel headers 3.7.0.
  403. config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201103
  404. bool "Sourcery CodeBench PowerPC 2011.03"
  405. depends on BR2_powerpc
  406. depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
  407. depends on !BR2_PREFER_STATIC_LIB
  408. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  409. select BR2_TOOLCHAIN_HAS_NATIVE_RPC
  410. select BR2_INSTALL_LIBSTDCPP
  411. select BR2_HOSTARCH_NEEDS_IA32_LIBS
  412. help
  413. Sourcery CodeBench toolchain for the PowerPC architecture,
  414. from Mentor Graphics. It uses gcc 4.5.2, binutils 2.20.51,
  415. glibc 2.13, gdb 7.2.50 and kernel headers 2.6.38. It has
  416. support for the following variants:
  417. - 603 glibc, 32 bits
  418. Select a generic PowerPC core
  419. Disable BR2_SOFT_FLOAT
  420. - 603 soft float glibc, 32 bits
  421. Select a generic PowerPC core
  422. Enable BR2_SOFT_FLOAT
  423. - e600 altivec glibc, 32 bits
  424. Set BR2_TARGET_OPTIMIZATION to -te600
  425. - e500v1 glibc, 32 bits
  426. Set BR2_TARGET_OPTIMIZATION to -te500v1
  427. - e500v2 glibc, 32 bits
  428. Set BR2_TARGET_OPTIMIZATION to -te500v2
  429. - e500mc glibc, 32 bits
  430. Set BR2_TARGET_OPTIMIZATION to -te500mc
  431. - 970 glibc hard-float, 64 bits
  432. Set BR2_TARGET_OPTIMIZATION to -m64
  433. config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009
  434. bool "Sourcery CodeBench PowerPC 2010.09"
  435. depends on BR2_powerpc
  436. depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
  437. depends on !BR2_PREFER_STATIC_LIB
  438. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  439. select BR2_TOOLCHAIN_HAS_NATIVE_RPC
  440. select BR2_INSTALL_LIBSTDCPP
  441. select BR2_HOSTARCH_NEEDS_IA32_LIBS
  442. help
  443. Sourcery CodeBench toolchain for the PowerPC architecture,
  444. from Mentor Graphics. It uses gcc 4.5.1, binutils 2.20,
  445. glibc 2.11, gdb 7.2.50 and kernel headers 2.6.35.2. It has
  446. support for the following variants:
  447. - 603 glibc, 32 bits
  448. Select a generic PowerPC core
  449. Disable BR2_SOFT_FLOAT
  450. - 603 soft float glibc, 32 bits
  451. Select a generic PowerPC core
  452. Enable BR2_SOFT_FLOAT
  453. - e600 altivec glibc, 32 bits
  454. Set BR2_TARGET_OPTIMIZATION to -te600
  455. - e500v1 glibc, 32 bits
  456. Set BR2_TARGET_OPTIMIZATION to -te500v1
  457. - e500v2 glibc, 32 bits
  458. Set BR2_TARGET_OPTIMIZATION to -te500v2
  459. - e500mc glibc, 32 bits
  460. Set BR2_TARGET_OPTIMIZATION to -te500mc
  461. - 970 glibc hard-float, 64 bits
  462. Set BR2_TARGET_OPTIMIZATION to -m64
  463. config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201209
  464. bool "Sourcery CodeBench SH 2012.09"
  465. depends on BR2_sh4a || BR2_sh4aeb
  466. depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
  467. depends on !BR2_PREFER_STATIC_LIB
  468. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  469. select BR2_TOOLCHAIN_HAS_NATIVE_RPC
  470. select BR2_INSTALL_LIBSTDCPP
  471. select BR2_HOSTARCH_NEEDS_IA32_LIBS
  472. help
  473. Sourcery CodeBench toolchain for the SuperH architecture,
  474. from Mentor Graphics. It uses gcc 4.7.2, binutils 2.23.51,
  475. glibc 2.16, uClibc 0.9.30, gdb 7.4.50 and kernel headers
  476. 3.5.4. It has support for the following variants:
  477. - SH4A, glibc, little endian
  478. Default.
  479. - SH4A, glibc, big endian
  480. Add -mb to BR2_TARGET_OPTIMIZATION
  481. - SH4A, uClibc, little endian
  482. Not usable in Buildroot yet.
  483. - SH4A, uClibc, big endian
  484. Not usable in Buildroot yet.
  485. config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201203
  486. bool "Sourcery CodeBench SH 2012.03"
  487. depends on BR2_sh4a || BR2_sh4aeb
  488. depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
  489. depends on !BR2_PREFER_STATIC_LIB
  490. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  491. select BR2_INSTALL_LIBSTDCPP
  492. select BR2_HOSTARCH_NEEDS_IA32_LIBS
  493. help
  494. Sourcery CodeBench toolchain for the SuperH architecture,
  495. from Mentor Graphics. It uses gcc 4.6.3, binutils 2.21.53,
  496. glibc 2.15, uClibc 0.9.30, gdb 7.2.50 and kernel headers
  497. 3.2.10. It has support for the following variants:
  498. - SH4A, glibc, little endian
  499. Default.
  500. - SH4A, glibc, big endian
  501. Add -mb to BR2_TARGET_OPTIMIZATION
  502. - SH4A, uClibc, little endian
  503. Not usable in Buildroot yet.
  504. - SH4A, uClibc, big endian
  505. Not usable in Buildroot yet.
  506. config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201103
  507. bool "Sourcery CodeBench SH 2011.03"
  508. depends on BR2_sh4a || BR2_sh4aeb
  509. depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
  510. depends on !BR2_PREFER_STATIC_LIB
  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
  515. help
  516. Sourcery CodeBench toolchain for the SuperH architecture,
  517. from Mentor Graphics. It uses gcc 4.5.2, binutils 2.20,
  518. glibc 2.13, uClibc 0.9.30, gdb 7.2.50 and kernel headers
  519. 2.6.38. It has support for the following variants:
  520. - SH4A, glibc, little endian
  521. Default.
  522. - SH4A, glibc, big endian
  523. Add -mb to BR2_TARGET_OPTIMIZATION
  524. - SH4A, uClibc, little endian
  525. Not usable in Buildroot yet.
  526. - SH4A, uClibc, big endian
  527. Not usable in Buildroot yet.
  528. config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201103
  529. bool "Sourcery CodeBench SH 2011.03"
  530. depends on BR2_sh2a
  531. depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
  532. select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
  533. select BR2_LARGEFILE
  534. select BR2_TOOLCHAIN_HAS_NATIVE_RPC
  535. select BR2_USE_WCHAR
  536. select BR2_TOOLCHAIN_HAS_THREADS
  537. select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
  538. select BR2_INSTALL_LIBSTDCPP
  539. select BR2_HOSTARCH_NEEDS_IA32_LIBS
  540. help
  541. Sourcery CodeBench toolchain for the SuperH architecture,
  542. from Mentor Graphics. It uses gcc 4.5.2, binutils 2.20,
  543. uClibc 0.9.30, gdb 7.2.50 and kernel headers 2.6.38. It has
  544. support for the following variants:
  545. - SH2A, uClibc, big endian
  546. config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201009
  547. bool "Sourcery CodeBench SH 2010.09"
  548. depends on BR2_sh2a
  549. depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
  550. select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
  551. select BR2_LARGEFILE
  552. select BR2_TOOLCHAIN_HAS_NATIVE_RPC
  553. select BR2_USE_WCHAR
  554. select BR2_TOOLCHAIN_HAS_THREADS
  555. select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
  556. select BR2_INSTALL_LIBSTDCPP
  557. select BR2_HOSTARCH_NEEDS_IA32_LIBS
  558. help
  559. Sourcery CodeBench toolchain for the SuperH architecture,
  560. from Mentor Graphics. It uses gcc 4.5.1, binutils 2.20,
  561. uClibc 0.9.30, gdb 7.2.50 and kernel headers 2.6.35.2. It
  562. has support for the following variants:
  563. - SH2A, uClibc, big endian
  564. config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201209
  565. bool "Sourcery CodeBench x86/x86_64 2012.09"
  566. depends on BR2_i386 || BR2_x86_64
  567. depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
  568. depends on !BR2_PREFER_STATIC_LIB
  569. depends on !BR2_x86_jaguar
  570. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  571. select BR2_TOOLCHAIN_HAS_NATIVE_RPC
  572. select BR2_INSTALL_LIBSTDCPP
  573. select BR2_HOSTARCH_NEEDS_IA32_LIBS
  574. help
  575. Sourcery CodeBench toolchain for the x86/x86_64
  576. architectures, from Mentor Graphics. It uses gcc 4.7.2,
  577. binutils 2.23.51, glibc 2.16, gdb 7.4.50 and kernel headers
  578. 3.5.4. It has support for the following variants:
  579. - Intel Pentium 4, glibc, 32 bits
  580. Default for x86, nothing special to do.
  581. - Intel Atom, glibc, 32 bits
  582. Select an Atom core
  583. - Intel Xeon, glibc, 64 bits
  584. Default for x86_64, nothing special to do.
  585. - Intel Core 2, glibc, 64 bits
  586. Select a Core 2 core
  587. Other architecture variants (beyond Pentium-4/Xeon) are
  588. supported as well, but glibc is not optimised for it.
  589. config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201203
  590. bool "Sourcery CodeBench x86/x86_64 2012.03"
  591. depends on BR2_i386 || BR2_x86_64
  592. depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
  593. depends on !BR2_PREFER_STATIC_LIB
  594. depends on !BR2_x86_jaguar
  595. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  596. select BR2_INSTALL_LIBSTDCPP
  597. select BR2_HOSTARCH_NEEDS_IA32_LIBS
  598. help
  599. Sourcery CodeBench toolchain for the x86/x86_64
  600. architectures, from Mentor Graphics. It uses gcc 4.6.3,
  601. binutils 2.21.53, glibc 2.15, gdb 7.2.50 and kernel headers
  602. 3.2.10. It has support for the following variants:
  603. - Intel Pentium 4, glibc, 32 bits
  604. Default for x86, nothing special to do.
  605. - Intel Atom, glibc, 32 bits
  606. Select an Atom core
  607. - Intel Xeon, glibc, 64 bits
  608. Default for x86_64, nothing special to do.
  609. - Intel Core 2, glibc, 64 bits
  610. Select a Core 2 core
  611. Other architecture variants (beyond Pentium-4/Xeon) are
  612. supported as well, but glibc is not optimised for it.
  613. config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201109
  614. bool "Sourcery CodeBench x86/x86_64 2011.09"
  615. depends on BR2_i386 || BR2_x86_64
  616. depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
  617. depends on !BR2_PREFER_STATIC_LIB
  618. depends on !BR2_x86_jaguar
  619. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  620. select BR2_TOOLCHAIN_HAS_NATIVE_RPC
  621. select BR2_INSTALL_LIBSTDCPP
  622. select BR2_HOSTARCH_NEEDS_IA32_LIBS
  623. help
  624. Sourcery CodeBench toolchain for the x86/x86_64
  625. architectures, from Mentor Graphics. It uses gcc 4.6.1,
  626. binutils 2.21.53, glibc 2.13, gdb 7.2.50 and kernel headers
  627. 3.0.1. It has support for the following variants:
  628. - Intel Pentium 4, glibc, 32 bits
  629. Default for x86, nothing special to do.
  630. - Intel Atom, glibc, 32 bits
  631. Select an Atom core
  632. - Intel Xeon, glibc, 64 bits
  633. Default for x86_64, nothing special to do.
  634. - Intel Core 2, glibc, 64 bits
  635. Select a Core 2 core
  636. Other architecture variants (beyond Pentium-4/Xeon) are
  637. supported as well, but glibc is not optimised for it.
  638. config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2013R1
  639. bool "Blackfin.uclinux.org 2013R1"
  640. depends on BR2_bfin
  641. depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
  642. select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
  643. select BR2_INSTALL_LIBSTDCPP
  644. select BR2_LARGEFILE
  645. select BR2_INET_IPV6
  646. select BR2_TOOLCHAIN_HAS_NATIVE_RPC
  647. select BR2_USE_WCHAR
  648. select BR2_TOOLCHAIN_HAS_THREADS
  649. select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
  650. select BR2_HOSTARCH_NEEDS_IA32_LIBS
  651. help
  652. Toolchain for the Blackfin architecture, from
  653. http://blackfin.uclinux.org.
  654. config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2
  655. bool "Blackfin.uclinux.org 2012R2-RC2"
  656. depends on BR2_bfin
  657. depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
  658. select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
  659. select BR2_INSTALL_LIBSTDCPP
  660. select BR2_LARGEFILE
  661. select BR2_INET_IPV6
  662. select BR2_TOOLCHAIN_HAS_NATIVE_RPC
  663. select BR2_USE_WCHAR
  664. select BR2_TOOLCHAIN_HAS_THREADS
  665. select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
  666. select BR2_HOSTARCH_NEEDS_IA32_LIBS
  667. help
  668. Toolchain for the Blackfin architecture, from
  669. http://blackfin.uclinux.org.
  670. config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R1
  671. bool "Blackfin.uclinux.org 2012R1-RC2"
  672. depends on BR2_bfin
  673. depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
  674. select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
  675. select BR2_INSTALL_LIBSTDCPP
  676. select BR2_LARGEFILE
  677. select BR2_INET_IPV6
  678. select BR2_TOOLCHAIN_HAS_NATIVE_RPC
  679. select BR2_USE_WCHAR
  680. select BR2_TOOLCHAIN_HAS_THREADS
  681. select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
  682. select BR2_HOSTARCH_NEEDS_IA32_LIBS
  683. help
  684. Toolchain for the Blackfin architecture, from
  685. http://blackfin.uclinux.org.
  686. config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_14_3
  687. bool "Xilinx Little Endian Microblaze GNU Tools 14.3"
  688. depends on BR2_microblazeel
  689. depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
  690. depends on !BR2_PREFER_STATIC_LIB
  691. depends on BR2_DEPRECATED_SINCE_2014_02
  692. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  693. select BR2_TOOLCHAIN_HAS_NATIVE_RPC
  694. select BR2_HOSTARCH_NEEDS_IA32_LIBS
  695. help
  696. Toolchain for the Microblaze architecture, from
  697. http://git.xilinx.com/?p=microblaze-gnu.git;a=tree;f=binaries. It
  698. uses gcc 4.6.2, binutils 2.21.53, glibc 2.14 and gdb 7.4.50.
  699. config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_V2
  700. bool "Xilinx Little Endian Microblaze GNU Tools v2"
  701. depends on BR2_microblazeel
  702. depends on BR2_HOSTARCH = "x86_64"
  703. depends on !BR2_PREFER_STATIC_LIB
  704. depends on BR2_DEPRECATED_SINCE_2014_02
  705. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  706. select BR2_TOOLCHAIN_HAS_NATIVE_RPC
  707. help
  708. Toolchain for the Microblaze architecture, from
  709. http://wiki.xilinx.com/mb-gnu-tools
  710. config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_14_3
  711. bool "Xilinx Big Endian Microblaze GNU Tools"
  712. depends on BR2_microblazebe
  713. depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
  714. depends on !BR2_PREFER_STATIC_LIB
  715. depends on BR2_DEPRECATED_SINCE_2014_02
  716. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  717. select BR2_TOOLCHAIN_HAS_NATIVE_RPC
  718. select BR2_HOSTARCH_NEEDS_IA32_LIBS
  719. help
  720. Toolchain for the Microblaze architecture, from
  721. http://git.xilinx.com/?p=microblaze-gnu.git;a=tree;f=binaries. It
  722. uses gcc 4.6.2, binutils 2.21.53, glibc 2.14 and gdb 7.4.50.
  723. config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_V2
  724. bool "Xilinx Big Endian Microblaze GNU Tools"
  725. depends on BR2_microblazebe
  726. depends on BR2_HOSTARCH = "x86_64"
  727. depends on !BR2_PREFER_STATIC_LIB
  728. depends on BR2_DEPRECATED_SINCE_2014_02
  729. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  730. select BR2_TOOLCHAIN_HAS_NATIVE_RPC
  731. help
  732. Toolchain for the Microblaze architecture, from
  733. http://wiki.xilinx.com/mb-gnu-tools
  734. config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_11
  735. bool "Linaro AArch64 13.11"
  736. depends on BR2_aarch64
  737. depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
  738. depends on !BR2_PREFER_STATIC_LIB
  739. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  740. select BR2_INSTALL_LIBSTDCPP
  741. select BR2_HOSTARCH_NEEDS_IA32_LIBS
  742. select BR2_TOOLCHAIN_HAS_NATIVE_RPC
  743. help
  744. Toolchain for the AArch64 architecture, from
  745. http://www.linaro.org/engineering/armv8/
  746. config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_10
  747. bool "Linaro AArch64 13.10"
  748. depends on BR2_aarch64
  749. depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
  750. depends on !BR2_PREFER_STATIC_LIB
  751. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  752. select BR2_INSTALL_LIBSTDCPP
  753. select BR2_HOSTARCH_NEEDS_IA32_LIBS
  754. select BR2_TOOLCHAIN_HAS_NATIVE_RPC
  755. help
  756. Toolchain for the AArch64 architecture, from
  757. http://www.linaro.org/engineering/armv8/
  758. config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_09
  759. bool "Linaro AArch64 13.09"
  760. depends on BR2_aarch64
  761. depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
  762. depends on !BR2_PREFER_STATIC_LIB
  763. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  764. select BR2_INSTALL_LIBSTDCPP
  765. select BR2_HOSTARCH_NEEDS_IA32_LIBS
  766. select BR2_TOOLCHAIN_HAS_NATIVE_RPC
  767. help
  768. Toolchain for the AArch64 architecture, from
  769. http://www.linaro.org/engineering/armv8/
  770. config BR2_TOOLCHAIN_EXTERNAL_CUSTOM
  771. bool "Custom toolchain"
  772. help
  773. Use this option to use a custom toolchain pre-installed on
  774. your system.
  775. endchoice
  776. choice
  777. prompt "Toolchain origin"
  778. # Keep compatibility with old defconfig files that are using
  779. # custom toolchains, and which are therefore assuming that
  780. # "preinstalled" in the default choice.
  781. default BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
  782. config BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD
  783. bool "Toolchain to be downloaded and installed"
  784. help
  785. Select this option if you want Buildroot to download and install the
  786. toolchain. If you have selected a custom toolchain, specify the URL
  787. in BR2_TOOLCHAIN_EXTERNAL_URL.
  788. config BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED
  789. bool "Pre-installed toolchain"
  790. help
  791. Select this option if you want to use a pre-installed toolchain.
  792. Specify the path to this toolchain in BR2_TOOLCHAIN_EXTERNAL_PATH.
  793. endchoice
  794. config BR2_TOOLCHAIN_EXTERNAL_PATH
  795. string "Toolchain path"
  796. default "/path/to/toolchain/usr"
  797. depends on BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED
  798. help
  799. Path to where the external toolchain is installed.
  800. config BR2_TOOLCHAIN_EXTERNAL_URL
  801. string "Toolchain URL"
  802. depends on BR2_TOOLCHAIN_EXTERNAL_CUSTOM && BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD
  803. help
  804. URL of the custom toolchain tarball to download and install.
  805. config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX
  806. string "Toolchain prefix"
  807. depends on BR2_TOOLCHAIN_EXTERNAL_CUSTOM
  808. default "$(ARCH)-linux"
  809. config BR2_TOOLCHAIN_EXTERNAL_PREFIX
  810. string
  811. default "arm-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_11
  812. default "arm-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_10
  813. default "arm-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_09
  814. default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201203
  815. default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201305
  816. default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201311
  817. default "arm-arago-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV7A_201109
  818. default "arm-arago-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV5TE_201109
  819. default "aarch64-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_11
  820. default "aarch64-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_10
  821. default "aarch64-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_09
  822. default "microblazeel-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_14_3
  823. default "microblazeel-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_V2
  824. default "microblaze-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_14_3
  825. default "microblaze-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_V2
  826. default "mips-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201209
  827. default "mips-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201305
  828. default "mips-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201311
  829. default "nios2-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201305
  830. default "powerpc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009
  831. default "powerpc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201103
  832. default "sh-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201103
  833. default "sh-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201203
  834. default "sh-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201209
  835. default "sh-uclinux" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201009
  836. default "sh-uclinux" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201103
  837. default "i686-pc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201109
  838. default "i686-pc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201203
  839. default "i686-pc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201209
  840. default "bfin-uclinux" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R1 && BR2_BINFMT_FLAT
  841. default "bfin-linux-uclibc" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R1 && BR2_BINFMT_FDPIC
  842. default "bfin-uclinux" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2 && BR2_BINFMT_FLAT
  843. default "bfin-linux-uclibc" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2 && BR2_BINFMT_FDPIC
  844. default "bfin-uclinux" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2013R1 && BR2_BINFMT_FLAT
  845. default "bfin-linux-uclibc" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2013R1 && BR2_BINFMT_FDPIC
  846. default BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX \
  847. if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
  848. config BR2_TOOLCHAIN_EXTERNAL_GLIBC
  849. bool
  850. select BR2_TOOLCHAIN_USES_GLIBC
  851. config BR2_TOOLCHAIN_EXTERNAL_UCLIBC
  852. bool
  853. select BR2_TOOLCHAIN_USES_UCLIBC
  854. config BR2_TOOLCHAIN_EXTERNAL_MUSL
  855. bool
  856. select BR2_TOOLCHAIN_USES_MUSL
  857. if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
  858. choice
  859. prompt "External toolchain C library"
  860. default BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
  861. config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
  862. bool "uClibc"
  863. select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
  864. # For the time being, we assume that all custom external
  865. # toolchains have shadow password support.
  866. select BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
  867. help
  868. Select this option if your external toolchain uses the
  869. uClibc C library (available from http://www.uclibc.org/).
  870. config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC
  871. bool "glibc/eglibc"
  872. depends on !BR2_PREFER_STATIC_LIB
  873. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  874. help
  875. Select this option if your external toolchain uses the GNU C
  876. library (available from https://www.gnu.org/software/libc/)
  877. or its variant the eglibc library (http://www.eglibc.org/).
  878. Note: eglibc is a variant of glibc that (among other things)
  879. can be configured to exclude some of its features. Using a
  880. toolchain with eglibc configured to exclude key features may
  881. cause build failures to some packages.
  882. comment "(e)glibc only available with shared lib support"
  883. depends on BR2_PREFER_STATIC_LIB
  884. config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_MUSL
  885. bool "musl"
  886. select BR2_TOOLCHAIN_EXTERNAL_MUSL
  887. help
  888. Select this option if your external toolchain uses the
  889. 'musl' C library, available from http://www.musl-libc.org/.
  890. endchoice
  891. if BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
  892. config BR2_TOOLCHAIN_EXTERNAL_LARGEFILE
  893. bool "Toolchain has large file support?"
  894. select BR2_LARGEFILE
  895. help
  896. Select this option if your external toolchain supports
  897. largefile. If you don't know, leave the default value,
  898. Buildroot will tell you if it's correct or not.
  899. config BR2_TOOLCHAIN_EXTERNAL_INET_IPV6
  900. bool "Toolchain has IPv6 support?"
  901. select BR2_INET_IPV6
  902. help
  903. Select this option if your external toolchain supports
  904. IPv6. If you don't know, leave the default value, Buildroot
  905. will tell you if it's correct or not.
  906. config BR2_TOOLCHAIN_EXTERNAL_WCHAR
  907. bool "Toolchain has WCHAR support?"
  908. select BR2_USE_WCHAR
  909. help
  910. Select this option if your external toolchain supports
  911. WCHAR. If you don't know, leave the default value, Buildroot
  912. will tell you if it's correct or not.
  913. config BR2_TOOLCHAIN_EXTERNAL_LOCALE
  914. bool "Toolchain has locale support?"
  915. select BR2_TOOLCHAIN_EXTERNAL_WCHAR
  916. select BR2_ENABLE_LOCALE
  917. help
  918. Select this option if your external toolchain has locale
  919. support. If you don't know, leave the default value,
  920. Buildroot will tell you if it's correct or not.
  921. config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
  922. bool "Toolchain has threads support?"
  923. select BR2_TOOLCHAIN_HAS_THREADS
  924. default y
  925. help
  926. Select this option if your external toolchain has thread
  927. support. If you don't know, leave the default value,
  928. Buildroot will tell you if it's correct or not.
  929. config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG
  930. bool "Toolchain has threads debugging support?"
  931. depends on BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
  932. select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
  933. default y
  934. help
  935. Select this option if your external toolchain has thread
  936. debugging support. If you don't know, leave the default
  937. value, Buildroot will tell you if it's correct or not.
  938. config BR2_TOOLCHAIN_EXTERNAL_HAS_SSP
  939. bool "Toolchain has SSP support?"
  940. select BR2_TOOLCHAIN_HAS_SSP
  941. help
  942. Selection this option if your external toolchain has Stack
  943. Smashing Protection support enabled. If you don't know,
  944. leave the default value, Buildroot will tell you if it's
  945. correct or not.
  946. endif # BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
  947. config BR2_TOOLCHAIN_EXTERNAL_INET_RPC
  948. bool "Toolchain has RPC support?"
  949. select BR2_TOOLCHAIN_HAS_NATIVE_RPC
  950. depends on !BR2_TOOLCHAIN_EXTERNAL_MUSL
  951. default y if BR2_TOOLCHAIN_EXTERNAL_GLIBC
  952. help
  953. Select this option if your external toolchain supports
  954. RPC. If you don't know, leave the default value, Buildroot
  955. will tell you if it's correct or not.
  956. config BR2_TOOLCHAIN_EXTERNAL_CXX
  957. bool "Toolchain has C++ support?"
  958. select BR2_INSTALL_LIBSTDCPP
  959. help
  960. Select this option if your external toolchain has C++
  961. support. If you don't know, leave the default value,
  962. Buildroot will tell you if it's correct or not.
  963. config BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS
  964. string "Extra toolchain libraries to be copied to target"
  965. help
  966. If your external toolchain provides extra libraries that
  967. need to be copied to the target filesystem, enter them
  968. here, separated by spaces. They will be copied to the
  969. target's /lib directory.
  970. endif # BR2_TOOLCHAIN_EXTERNAL_CUSTOM
  971. config BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY
  972. bool "Copy gdb server to the Target"
  973. depends on BR2_TOOLCHAIN_EXTERNAL
  974. help
  975. Copy the gdbserver provided by the external toolchain to the
  976. target.
  977. # When the FDPIC shared binary format is used, the corresponding libraries are
  978. # always installed. When a different binary format is used, we offer the option
  979. # of installing the FDPIC shared libraries.
  980. config BR2_BFIN_INSTALL_FDPIC_SHARED
  981. bool "Install FDPIC shared libraries"
  982. depends on BR2_bfin && !BR2_BINFMT_FDPIC
  983. help
  984. The Linux kernel supports running both FDPIC and FLAT applications
  985. concurrently if the binary format specific libraries are installed
  986. properly. This option allows developer to install FDPIC libraries
  987. into a buildroot rootfs image built with binary format that is not
  988. FDPIC.
  989. # When the FLAT shared binary format is used, we force the installation
  990. # of the corresponding libraries. When a different binary format is
  991. # used, we offer the option of installing the FLAT shared libraries.
  992. config BR2_BFIN_INSTALL_FLAT_SHARED
  993. bool "Install FLAT shared libraries" if !BR2_BINFMT_FLAT_SHARED
  994. depends on BR2_bfin
  995. default y if BR2_BINFMT_FLAT_SHARED
  996. help
  997. The Linux kernel supports running both FDPIC and FLAT applications
  998. concurrently if the binary format specific libraries are installed
  999. properly. This option allows developer to install FLAT libraries
  1000. into a buildroot rootfs image built with binary format that is not
  1001. shared FLAT.
  1002. endif # BR2_TOOLCHAIN_EXTERNAL