Config.in 40 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079
  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. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  570. select BR2_TOOLCHAIN_HAS_NATIVE_RPC
  571. select BR2_INSTALL_LIBSTDCPP
  572. select BR2_HOSTARCH_NEEDS_IA32_LIBS
  573. help
  574. Sourcery CodeBench toolchain for the x86/x86_64
  575. architectures, from Mentor Graphics. It uses gcc 4.7.2,
  576. binutils 2.23.51, glibc 2.16, gdb 7.4.50 and kernel headers
  577. 3.5.4. It has support for the following variants:
  578. - Intel Pentium 4, glibc, 32 bits
  579. Default for x86, nothing special to do.
  580. - Intel Atom, glibc, 32 bits
  581. Select an Atom core
  582. - Intel Xeon, glibc, 64 bits
  583. Default for x86_64, nothing special to do.
  584. - Intel Core 2, glibc, 64 bits
  585. Select a Core 2 core
  586. Other architecture variants (beyond Pentium-4/Xeon) are
  587. supported as well, but glibc is not optimised for it.
  588. config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201203
  589. bool "Sourcery CodeBench x86/x86_64 2012.03"
  590. depends on BR2_i386 || BR2_x86_64
  591. depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
  592. depends on !BR2_PREFER_STATIC_LIB
  593. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  594. select BR2_INSTALL_LIBSTDCPP
  595. select BR2_HOSTARCH_NEEDS_IA32_LIBS
  596. help
  597. Sourcery CodeBench toolchain for the x86/x86_64
  598. architectures, from Mentor Graphics. It uses gcc 4.6.3,
  599. binutils 2.21.53, glibc 2.15, gdb 7.2.50 and kernel headers
  600. 3.2.10. It has support for the following variants:
  601. - Intel Pentium 4, glibc, 32 bits
  602. Default for x86, nothing special to do.
  603. - Intel Atom, glibc, 32 bits
  604. Select an Atom core
  605. - Intel Xeon, glibc, 64 bits
  606. Default for x86_64, nothing special to do.
  607. - Intel Core 2, glibc, 64 bits
  608. Select a Core 2 core
  609. Other architecture variants (beyond Pentium-4/Xeon) are
  610. supported as well, but glibc is not optimised for it.
  611. config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201109
  612. bool "Sourcery CodeBench x86/x86_64 2011.09"
  613. depends on BR2_i386 || BR2_x86_64
  614. depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
  615. depends on !BR2_PREFER_STATIC_LIB
  616. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  617. select BR2_TOOLCHAIN_HAS_NATIVE_RPC
  618. select BR2_INSTALL_LIBSTDCPP
  619. select BR2_HOSTARCH_NEEDS_IA32_LIBS
  620. help
  621. Sourcery CodeBench toolchain for the x86/x86_64
  622. architectures, from Mentor Graphics. It uses gcc 4.6.1,
  623. binutils 2.21.53, glibc 2.13, gdb 7.2.50 and kernel headers
  624. 3.0.1. It has support for the following variants:
  625. - Intel Pentium 4, glibc, 32 bits
  626. Default for x86, nothing special to do.
  627. - Intel Atom, glibc, 32 bits
  628. Select an Atom core
  629. - Intel Xeon, glibc, 64 bits
  630. Default for x86_64, nothing special to do.
  631. - Intel Core 2, glibc, 64 bits
  632. Select a Core 2 core
  633. Other architecture variants (beyond Pentium-4/Xeon) are
  634. supported as well, but glibc is not optimised for it.
  635. config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2013R1
  636. bool "Blackfin.uclinux.org 2013R1"
  637. depends on BR2_bfin
  638. depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
  639. select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
  640. select BR2_INSTALL_LIBSTDCPP
  641. select BR2_LARGEFILE
  642. select BR2_INET_IPV6
  643. select BR2_TOOLCHAIN_HAS_NATIVE_RPC
  644. select BR2_USE_WCHAR
  645. select BR2_TOOLCHAIN_HAS_THREADS
  646. select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
  647. select BR2_HOSTARCH_NEEDS_IA32_LIBS
  648. help
  649. Toolchain for the Blackfin architecture, from
  650. http://blackfin.uclinux.org.
  651. config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2
  652. bool "Blackfin.uclinux.org 2012R2-RC2"
  653. depends on BR2_bfin
  654. depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
  655. select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
  656. select BR2_INSTALL_LIBSTDCPP
  657. select BR2_LARGEFILE
  658. select BR2_INET_IPV6
  659. select BR2_TOOLCHAIN_HAS_NATIVE_RPC
  660. select BR2_USE_WCHAR
  661. select BR2_TOOLCHAIN_HAS_THREADS
  662. select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
  663. select BR2_HOSTARCH_NEEDS_IA32_LIBS
  664. help
  665. Toolchain for the Blackfin architecture, from
  666. http://blackfin.uclinux.org.
  667. config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R1
  668. bool "Blackfin.uclinux.org 2012R1-RC2"
  669. depends on BR2_bfin
  670. depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
  671. select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
  672. select BR2_INSTALL_LIBSTDCPP
  673. select BR2_LARGEFILE
  674. select BR2_INET_IPV6
  675. select BR2_TOOLCHAIN_HAS_NATIVE_RPC
  676. select BR2_USE_WCHAR
  677. select BR2_TOOLCHAIN_HAS_THREADS
  678. select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
  679. select BR2_HOSTARCH_NEEDS_IA32_LIBS
  680. help
  681. Toolchain for the Blackfin architecture, from
  682. http://blackfin.uclinux.org.
  683. config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_14_3
  684. bool "Xilinx Little Endian Microblaze GNU Tools 14.3"
  685. depends on BR2_microblazeel
  686. depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
  687. depends on !BR2_PREFER_STATIC_LIB
  688. depends on BR2_DEPRECATED
  689. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  690. select BR2_TOOLCHAIN_HAS_NATIVE_RPC
  691. select BR2_HOSTARCH_NEEDS_IA32_LIBS
  692. help
  693. Toolchain for the Microblaze architecture, from
  694. http://git.xilinx.com/?p=microblaze-gnu.git;a=tree;f=binaries. It
  695. uses gcc 4.6.2, binutils 2.21.53, glibc 2.14 and gdb 7.4.50.
  696. config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_V2
  697. bool "Xilinx Little Endian Microblaze GNU Tools v2"
  698. depends on BR2_microblazeel
  699. depends on BR2_HOSTARCH = "x86_64"
  700. depends on !BR2_PREFER_STATIC_LIB
  701. depends on BR2_DEPRECATED
  702. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  703. select BR2_TOOLCHAIN_HAS_NATIVE_RPC
  704. help
  705. Toolchain for the Microblaze architecture, from
  706. http://wiki.xilinx.com/mb-gnu-tools
  707. config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_14_3
  708. bool "Xilinx Big Endian Microblaze GNU Tools"
  709. depends on BR2_microblazebe
  710. depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
  711. depends on !BR2_PREFER_STATIC_LIB
  712. depends on BR2_DEPRECATED
  713. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  714. select BR2_TOOLCHAIN_HAS_NATIVE_RPC
  715. select BR2_HOSTARCH_NEEDS_IA32_LIBS
  716. help
  717. Toolchain for the Microblaze architecture, from
  718. http://git.xilinx.com/?p=microblaze-gnu.git;a=tree;f=binaries. It
  719. uses gcc 4.6.2, binutils 2.21.53, glibc 2.14 and gdb 7.4.50.
  720. config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_V2
  721. bool "Xilinx Big Endian Microblaze GNU Tools"
  722. depends on BR2_microblazebe
  723. depends on BR2_HOSTARCH = "x86_64"
  724. depends on !BR2_PREFER_STATIC_LIB
  725. depends on BR2_DEPRECATED
  726. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  727. select BR2_TOOLCHAIN_HAS_NATIVE_RPC
  728. help
  729. Toolchain for the Microblaze architecture, from
  730. http://wiki.xilinx.com/mb-gnu-tools
  731. config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_11
  732. bool "Linaro AArch64 13.11"
  733. depends on BR2_aarch64
  734. depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
  735. depends on !BR2_PREFER_STATIC_LIB
  736. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  737. select BR2_INSTALL_LIBSTDCPP
  738. select BR2_HOSTARCH_NEEDS_IA32_LIBS
  739. select BR2_TOOLCHAIN_HAS_NATIVE_RPC
  740. help
  741. Toolchain for the AArch64 architecture, from
  742. http://www.linaro.org/engineering/armv8/
  743. config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_10
  744. bool "Linaro AArch64 13.10"
  745. depends on BR2_aarch64
  746. depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
  747. depends on !BR2_PREFER_STATIC_LIB
  748. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  749. select BR2_INSTALL_LIBSTDCPP
  750. select BR2_HOSTARCH_NEEDS_IA32_LIBS
  751. select BR2_TOOLCHAIN_HAS_NATIVE_RPC
  752. help
  753. Toolchain for the AArch64 architecture, from
  754. http://www.linaro.org/engineering/armv8/
  755. config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_09
  756. bool "Linaro AArch64 13.09"
  757. depends on BR2_aarch64
  758. depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
  759. depends on !BR2_PREFER_STATIC_LIB
  760. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  761. select BR2_INSTALL_LIBSTDCPP
  762. select BR2_HOSTARCH_NEEDS_IA32_LIBS
  763. select BR2_TOOLCHAIN_HAS_NATIVE_RPC
  764. help
  765. Toolchain for the AArch64 architecture, from
  766. http://www.linaro.org/engineering/armv8/
  767. config BR2_TOOLCHAIN_EXTERNAL_CUSTOM
  768. bool "Custom toolchain"
  769. help
  770. Use this option to use a custom toolchain pre-installed on
  771. your system.
  772. endchoice
  773. choice
  774. prompt "Toolchain origin"
  775. # Keep compatibility with old defconfig files that are using
  776. # custom toolchains, and which are therefore assuming that
  777. # "preinstalled" in the default choice.
  778. default BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
  779. config BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD
  780. bool "Toolchain to be downloaded and installed"
  781. help
  782. Select this option if you want Buildroot to download and install the
  783. toolchain. If you have selected a custom toolchain, specify the URL
  784. in BR2_TOOLCHAIN_EXTERNAL_URL.
  785. config BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED
  786. bool "Pre-installed toolchain"
  787. help
  788. Select this option if you want to use a pre-installed toolchain.
  789. Specify the path to this toolchain in BR2_TOOLCHAIN_EXTERNAL_PATH.
  790. endchoice
  791. config BR2_TOOLCHAIN_EXTERNAL_PATH
  792. string "Toolchain path"
  793. default "/path/to/toolchain/usr"
  794. depends on BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED
  795. help
  796. Path to where the external toolchain is installed.
  797. config BR2_TOOLCHAIN_EXTERNAL_URL
  798. string "Toolchain URL"
  799. depends on BR2_TOOLCHAIN_EXTERNAL_CUSTOM && BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD
  800. help
  801. URL of the custom toolchain tarball to download and install.
  802. config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX
  803. string "Toolchain prefix"
  804. depends on BR2_TOOLCHAIN_EXTERNAL_CUSTOM
  805. default "$(ARCH)-linux"
  806. config BR2_TOOLCHAIN_EXTERNAL_PREFIX
  807. string
  808. default "arm-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_11
  809. default "arm-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_10
  810. default "arm-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_09
  811. default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201203
  812. default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201305
  813. default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201311
  814. default "arm-arago-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV7A_201109
  815. default "arm-arago-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV5TE_201109
  816. default "aarch64-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_11
  817. default "aarch64-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_10
  818. default "aarch64-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_09
  819. default "microblazeel-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_14_3
  820. default "microblazeel-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_V2
  821. default "microblaze-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_14_3
  822. default "microblaze-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_V2
  823. default "mips-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201209
  824. default "mips-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201305
  825. default "mips-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201311
  826. default "nios2-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201305
  827. default "powerpc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009
  828. default "powerpc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201103
  829. default "sh-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201103
  830. default "sh-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201203
  831. default "sh-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201209
  832. default "sh-uclinux" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201009
  833. default "sh-uclinux" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201103
  834. default "i686-pc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201109
  835. default "i686-pc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201203
  836. default "i686-pc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201209
  837. default "bfin-uclinux" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R1 && BR2_BINFMT_FLAT
  838. default "bfin-linux-uclibc" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R1 && BR2_BINFMT_FDPIC
  839. default "bfin-uclinux" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2 && BR2_BINFMT_FLAT
  840. default "bfin-linux-uclibc" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2 && BR2_BINFMT_FDPIC
  841. default "bfin-uclinux" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2013R1 && BR2_BINFMT_FLAT
  842. default "bfin-linux-uclibc" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2013R1 && BR2_BINFMT_FDPIC
  843. default BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX \
  844. if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
  845. config BR2_TOOLCHAIN_EXTERNAL_GLIBC
  846. bool
  847. select BR2_TOOLCHAIN_USES_GLIBC
  848. config BR2_TOOLCHAIN_EXTERNAL_UCLIBC
  849. bool
  850. select BR2_TOOLCHAIN_USES_UCLIBC
  851. config BR2_TOOLCHAIN_EXTERNAL_MUSL
  852. bool
  853. select BR2_TOOLCHAIN_USES_MUSL
  854. if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
  855. choice
  856. prompt "External toolchain C library"
  857. default BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
  858. config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
  859. bool "uClibc"
  860. select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
  861. # For the time being, we assume that all custom external
  862. # toolchains have shadow password support.
  863. select BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
  864. help
  865. Select this option if your external toolchain uses the
  866. uClibc C library (available from http://www.uclibc.org/).
  867. config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC
  868. bool "glibc/eglibc"
  869. depends on !BR2_PREFER_STATIC_LIB
  870. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  871. help
  872. Select this option if your external toolchain uses the GNU C
  873. library (available from https://www.gnu.org/software/libc/)
  874. or its variant the eglibc library (http://www.eglibc.org/).
  875. Note: eglibc is a variant of glibc that (among other things)
  876. can be configured to exclude some of its features. Using a
  877. toolchain with eglibc configured to exclude key features may
  878. cause build failures to some packages.
  879. comment "(e)glibc only available with shared lib support"
  880. depends on BR2_PREFER_STATIC_LIB
  881. config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_MUSL
  882. bool "musl"
  883. select BR2_TOOLCHAIN_EXTERNAL_MUSL
  884. help
  885. Select this option if your external toolchain uses the
  886. 'musl' C library, available from http://www.musl-libc.org/.
  887. endchoice
  888. if BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
  889. config BR2_TOOLCHAIN_EXTERNAL_LARGEFILE
  890. bool "Toolchain has large file support?"
  891. select BR2_LARGEFILE
  892. help
  893. Select this option if your external toolchain supports
  894. largefile. If you don't know, leave the default value,
  895. Buildroot will tell you if it's correct or not.
  896. config BR2_TOOLCHAIN_EXTERNAL_INET_IPV6
  897. bool "Toolchain has IPv6 support?"
  898. select BR2_INET_IPV6
  899. help
  900. Select this option if your external toolchain supports
  901. IPv6. If you don't know, leave the default value, Buildroot
  902. will tell you if it's correct or not.
  903. config BR2_TOOLCHAIN_EXTERNAL_WCHAR
  904. bool "Toolchain has WCHAR support?"
  905. select BR2_USE_WCHAR
  906. help
  907. Select this option if your external toolchain supports
  908. WCHAR. If you don't know, leave the default value, Buildroot
  909. will tell you if it's correct or not.
  910. config BR2_TOOLCHAIN_EXTERNAL_LOCALE
  911. bool "Toolchain has locale support?"
  912. select BR2_TOOLCHAIN_EXTERNAL_WCHAR
  913. select BR2_ENABLE_LOCALE
  914. help
  915. Select this option if your external toolchain has locale
  916. support. If you don't know, leave the default value,
  917. Buildroot will tell you if it's correct or not.
  918. config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
  919. bool "Toolchain has threads support?"
  920. select BR2_TOOLCHAIN_HAS_THREADS
  921. default y
  922. help
  923. Select this option if your external toolchain has thread
  924. support. If you don't know, leave the default value,
  925. Buildroot will tell you if it's correct or not.
  926. config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG
  927. bool "Toolchain has threads debugging support?"
  928. depends on BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
  929. select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
  930. default y
  931. help
  932. Select this option if your external toolchain has thread
  933. debugging support. If you don't know, leave the default
  934. value, Buildroot will tell you if it's correct or not.
  935. config BR2_TOOLCHAIN_EXTERNAL_HAS_SSP
  936. bool "Toolchain has SSP support?"
  937. select BR2_TOOLCHAIN_HAS_SSP
  938. help
  939. Selection this option if your external toolchain has Stack
  940. Smashing Protection support enabled. If you don't know,
  941. leave the default value, Buildroot will tell you if it's
  942. correct or not.
  943. endif # BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
  944. config BR2_TOOLCHAIN_EXTERNAL_INET_RPC
  945. bool "Toolchain has RPC support?"
  946. select BR2_TOOLCHAIN_HAS_NATIVE_RPC
  947. depends on !BR2_TOOLCHAIN_EXTERNAL_MUSL
  948. default y if BR2_TOOLCHAIN_EXTERNAL_GLIBC
  949. help
  950. Select this option if your external toolchain supports
  951. RPC. If you don't know, leave the default value, Buildroot
  952. will tell you if it's correct or not.
  953. config BR2_TOOLCHAIN_EXTERNAL_CXX
  954. bool "Toolchain has C++ support?"
  955. select BR2_INSTALL_LIBSTDCPP
  956. help
  957. Select this option if your external toolchain has C++
  958. support. If you don't know, leave the default value,
  959. Buildroot will tell you if it's correct or not.
  960. config BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS
  961. string "Extra toolchain libraries to be copied to target"
  962. help
  963. If your external toolchain provides extra libraries that
  964. need to be copied to the target filesystem, enter them
  965. here, separated by spaces. They will be copied to the
  966. target's /lib directory.
  967. endif # BR2_TOOLCHAIN_EXTERNAL_CUSTOM
  968. config BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY
  969. bool "Copy gdb server to the Target"
  970. depends on BR2_TOOLCHAIN_EXTERNAL
  971. help
  972. Copy the gdbserver provided by the external toolchain to the
  973. target.
  974. # When the FDPIC shared binary format is used, the corresponding libraries are
  975. # always installed. When a different binary format is used, we offer the option
  976. # of installing the FDPIC shared libraries.
  977. config BR2_BFIN_INSTALL_FDPIC_SHARED
  978. bool "Install FDPIC shared libraries"
  979. depends on BR2_bfin && !BR2_BINFMT_FDPIC
  980. help
  981. The Linux kernel supports running both FDPIC and FLAT applications
  982. concurrently if the binary format specific libraries are installed
  983. properly. This option allows developer to install FDPIC libraries
  984. into a buildroot rootfs image built with binary format that is not
  985. FDPIC.
  986. # When the FLAT shared binary format is used, we force the installation
  987. # of the corresponding libraries. When a different binary format is
  988. # used, we offer the option of installing the FLAT shared libraries.
  989. config BR2_BFIN_INSTALL_FLAT_SHARED
  990. bool "Install FLAT shared libraries" if !BR2_BINFMT_FLAT_SHARED
  991. depends on BR2_bfin
  992. default y if BR2_BINFMT_FLAT_SHARED
  993. help
  994. The Linux kernel supports running both FDPIC and FLAT applications
  995. concurrently if the binary format specific libraries are installed
  996. properly. This option allows developer to install FLAT libraries
  997. into a buildroot rootfs image built with binary format that is not
  998. shared FLAT.
  999. endif # BR2_TOOLCHAIN_EXTERNAL