Config.in 33 KB

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