Config.in 45 KB

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