Config.in 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399
  1. if BR2_TOOLCHAIN_EXTERNAL
  2. choice
  3. prompt "Toolchain"
  4. config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201103
  5. bool "Sourcery CodeBench ARM 2011.03"
  6. depends on BR2_arm
  7. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  8. select BR2_INSTALL_LIBSTDCPP
  9. help
  10. Sourcery CodeBench toolchain for the ARM architecture, from
  11. Mentor Graphics. It uses gcc 4.5.2, binutils 2.20.51, glibc
  12. 2.13 and gdb 7.2.50, kernel headers 2.6.38. It has support
  13. for the following variants:
  14. - ARMv5TE, little endian, soft-float, glibc
  15. - ARMv4T, little endian, soft-float, glibc
  16. - ARMv7-A, Thumb 2, little endian, soft-float, glibc
  17. config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201009
  18. bool "Sourcery CodeBench ARM 2010.09"
  19. depends on BR2_arm
  20. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  21. select BR2_INSTALL_LIBSTDCPP
  22. help
  23. Sourcery CodeBench toolchain for the ARM architecture, from
  24. Mentor Graphics. It uses gcc 4.5.1, binutils 2.20, glibc
  25. 2.11 and gdb 7.2.50, kernel headers 2.6.35.2. It has support
  26. for the following variants:
  27. - ARMv5TE, little endian, soft-float, glibc
  28. - ARMv4T, little endian, soft-float, glibc
  29. - ARMv7-A, Thumb 2, little endian, soft-float, glibc
  30. config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM2010Q1
  31. bool "Sourcery CodeBench ARM 2010q1"
  32. depends on BR2_arm
  33. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  34. select BR2_INSTALL_LIBSTDCPP
  35. help
  36. Sourcery CodeBench toolchain for the ARM architecture, from
  37. Mentor Graphics. It uses gcc 4.4.1, binutils 2.19, glibc
  38. 2.11, gdb 7.0.50 and kernel headers 2.6.32. It has support
  39. for the following variants:
  40. - ARMv5T, little endian, soft-float, glibc
  41. - ARMv4T, little endian, soft-float, glibc
  42. - ARMv7-A, Thumb 2, little endian, soft-float, glibc
  43. config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM2009Q3
  44. bool "Sourcery CodeBench ARM 2009q3"
  45. depends on BR2_arm
  46. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  47. select BR2_INSTALL_LIBSTDCPP
  48. help
  49. Sourcery CodeBench toolchain for the ARM architecture, from
  50. Mentor Graphics. It uses gcc 4.4.1, binutils 2.19, glibc
  51. 2.10 and gdb 6.8 and kernel headers 2.6.30. It has support
  52. for the following variants:
  53. - ARMv5T, little endian, soft-float, glibc
  54. - ARMv4T, little endian, soft-float, glibc
  55. - ARMv7-A, Thumb 2, little endian, soft-float, glibc
  56. config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM2009Q1
  57. bool "Sourcery CodeBench ARM 2009q1"
  58. depends on BR2_arm
  59. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  60. select BR2_INSTALL_LIBSTDCPP
  61. help
  62. Sourcery CodeBench toolchain for the ARM architecture, from
  63. Mentor Graphics. It uses gcc 4.3.3, binutils 2.19, glibc 2.8
  64. and gdb 6.8 and kernel headers 2.6.30. It has support for
  65. the following variants:
  66. - ARMv5T, little endian, soft-float, glibc
  67. - ARMv4T, little endian, soft-float, glibc
  68. - ARMv7-A, Thumb 2, little endian, soft-float, glibc
  69. config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201103
  70. bool "Sourcery CodeBench MIPS 2011.03"
  71. depends on BR2_mips || BR2_mipsel
  72. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  73. select BR2_INSTALL_LIBSTDCPP
  74. help
  75. Sourcery CodeBench toolchain for the MIPS architecture, from
  76. Mentor Graphics. It uses gcc 4.5.2, binutils 2.20.51, glibc
  77. 2.13, uClibc 0.9.30 and gdb 7.2.50, kernel headers
  78. 2.6.38. It has support for the following variants:
  79. - MIPS32 O32 big endian glibc
  80. - MIPS32 O32 little endian glibc
  81. - MIPS32 big endian soft float glibc
  82. - MIPS32 little endian soft float glibc
  83. - MIPS32 big endian microMIPS glibc
  84. - MIPS32 little endian microMIPS glibc
  85. - MIPS32 big endian soft float microMIPS glibc
  86. - MIPS32 little endian soft float microMIPS glibc
  87. - MIPS32 big endian uclibc
  88. - MIPS32 little endian uclibc
  89. - MIPS32 big endian soft float uclibc
  90. - MIPS32 little endian soft float uclibc
  91. config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS44
  92. bool "Sourcery CodeBench MIPS 4.4"
  93. depends on BR2_mips || BR2_mipsel
  94. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  95. select BR2_INSTALL_LIBSTDCPP
  96. help
  97. Sourcery CodeBench toolchain for the MIPS architecture, from
  98. Mentor Graphics. It uses gcc 4.4.1, binutils 2.19, glibc
  99. 2.11, uClibc 0.9.30 and gdb 7.0, kernel headers 2.6.32. It
  100. has support for the following variants:
  101. - MIPS32 O32 big endian glibc
  102. - MIPS32 O32 little endian glibc
  103. - MIPS32 big endian soft float glibc
  104. - MIPS32 little endian soft float glibc
  105. - MIPS32 big endian microMIPS glibc
  106. - MIPS32 little endian microMIPS glibc
  107. - MIPS32 big endian soft float microMIPS glibc
  108. - MIPS32 little endian soft float microMIPS glibc
  109. - MIPS32 big endian uclibc
  110. - MIPS32 little endian uclibc
  111. - MIPS32 big endian soft float uclibc
  112. - MIPS32 little endian soft float uclibc
  113. config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009
  114. bool "Sourcery CodeBench PowerPC 2010.09"
  115. depends on BR2_powerpc
  116. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  117. select BR2_INSTALL_LIBSTDCPP
  118. help
  119. Sourcery CodeBench toolchain for the PowerPC architecture,
  120. from Sourcery CodeBench. It uses gcc 4.5.1, binutils 2.20,
  121. glibc 2.11, gdb 7.2.50 and kernel headers 2.6.35.2. It has
  122. support for the following variants:
  123. - 603 glibc, 32 bits
  124. - 603 soft float glibc, 32 bits
  125. - e600 altivec glibc, 32 bits
  126. - e500v1 glibc, 32 bits
  127. - e500v2 glibc, 32 bits
  128. - e500mc glibc, 32 bits
  129. - 970 glibc hard-float, 64 bits
  130. config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201103
  131. bool "Sourcery CodeBench SH 2011.03"
  132. depends on BR2_sh4a || BR2_sh4aeb
  133. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  134. select BR2_INSTALL_LIBSTDCPP
  135. help
  136. Sourcery CodeBench toolchain for the SuperH architecture,
  137. from Mentor Graphics. It uses gcc 4.5.2, binutils 2.20,
  138. glibc 2.13, uClibc 0.9.30, gdb 7.2.50 and kernel headers
  139. 2.6.38. It has support for the following variants:
  140. - SH4A, glibc, little endian
  141. - SH4A, glibc, big endian
  142. - SH4A, uClibc, little endian
  143. - SH4A, uClibc, big endian
  144. config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201009
  145. bool "Sourcery CodeBench SH 2010.09"
  146. depends on BR2_sh4a || BR2_sh4aeb
  147. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  148. select BR2_INSTALL_LIBSTDCPP
  149. help
  150. Sourcery CodeBench toolchain for the SuperH architecture,
  151. from Mentor Graphics. It uses gcc 4.5.1, binutils 2.20,
  152. glibc 2.11, uClibc 0.9.30, gdb 7.2.50 and kernel headers
  153. 2.6.35.2. It has support for the following variants:
  154. - SH4A, glibc, little endian
  155. - SH4A, glibc, big endian
  156. - SH4A, uClibc, little endian
  157. - SH4A, uClibc, big endian
  158. config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201103
  159. bool "Sourcery CodeBench SH 2011.03"
  160. depends on BR2_sh2a
  161. select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
  162. select BR2_LARGEFILE
  163. select BR2_INET_RPC
  164. select BR2_USE_WCHAR
  165. select BR2_TOOLCHAIN_HAS_THREADS
  166. select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
  167. select BR2_INSTALL_LIBSTDCPP
  168. help
  169. Sourcery CodeBench toolchain for the SuperH architecture,
  170. from Mentor Graphics. It uses gcc 4.5.2, binutils 2.20,
  171. uClibc 0.9.30, gdb 7.2.50 and kernel headers 2.6.38. It has
  172. support for the following variants:
  173. - SH2A, uClibc, big endian
  174. config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201009
  175. bool "Sourcery CodeBench SH 2010.09"
  176. depends on BR2_sh2a
  177. select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
  178. select BR2_LARGEFILE
  179. select BR2_INET_RPC
  180. select BR2_USE_WCHAR
  181. select BR2_TOOLCHAIN_HAS_THREADS
  182. select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
  183. select BR2_INSTALL_LIBSTDCPP
  184. help
  185. Sourcery CodeBench toolchain for the SuperH architecture,
  186. from Mentor Graphics. It uses gcc 4.5.1, binutils 2.20,
  187. uClibc 0.9.30, gdb 7.2.50 and kernel headers 2.6.35.2. It
  188. has support for the following variants:
  189. - SH2A, uClibc, big endian
  190. config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201009
  191. bool "Sourcery CodeBench x86/x86_64 2010.09"
  192. depends on BR2_i386 || BR2_x86_64
  193. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  194. select BR2_INSTALL_LIBSTDCPP
  195. help
  196. Sourcery CodeBench toolchain for the x86/x86_64
  197. architectures, from Mentor Graphics. It uses gcc 4.5.1,
  198. binutils 2.20, glibc 2.11, gdb 7.2.50 and kernel headers
  199. 2.6.35.2. It has support for the following variants:
  200. - Intel Pentium 4, glibc, 32 bits
  201. - Intel Atom, glibc, 32 bits
  202. - Intel Xeon, glibc, 64 bits
  203. - Intel Core 2, glibc, 64 bits
  204. config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2010RC1
  205. bool "Blackfin.uclinux.org 2010RC1"
  206. depends on BR2_bfin
  207. select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
  208. select BR2_INSTALL_LIBSTDCPP
  209. select BR2_LARGEFILE
  210. select BR2_INET_IPV6
  211. select BR2_INET_RPC
  212. select BR2_USE_WCHAR
  213. select BR2_TOOLCHAIN_HAS_THREADS
  214. select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
  215. help
  216. Toolchain for the Blackfin architecture, from
  217. http://blackfin.uclinux.org.
  218. config BR2_TOOLCHAIN_EXTERNAL_CUSTOM
  219. bool "Custom toolchain"
  220. help
  221. Use this option to use a custom toolchain pre-installed on
  222. your system.
  223. endchoice
  224. config BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD
  225. bool "Download toolchain automatically"
  226. default y
  227. depends on !BR2_TOOLCHAIN_EXTERNAL_CUSTOM
  228. help
  229. When enabled, Buildroot will automatically download and
  230. install the selected external toolchain. When disabled,
  231. Buildroot will use a pre-installed toolchain.
  232. config BR2_TOOLCHAIN_EXTERNAL_PATH
  233. string "Toolchain path"
  234. default "/path/to/toolchain/usr"
  235. depends on !BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD
  236. help
  237. Path to where the external toolchain is installed.
  238. config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX
  239. string "Toolchain prefix"
  240. depends on BR2_TOOLCHAIN_EXTERNAL_CUSTOM
  241. default "$(ARCH)-linux"
  242. config BR2_TOOLCHAIN_EXTERNAL_PREFIX
  243. string
  244. default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM2009Q1
  245. default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM2009Q3
  246. default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM2010Q1
  247. default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201009
  248. default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201103
  249. default "mips-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS44
  250. default "mips-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201103
  251. default "powerpc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009
  252. default "sh-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201009
  253. default "sh-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201103
  254. default "sh-uclinux" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201009
  255. default "sh-uclinux" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201103
  256. default "i686-pc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201009
  257. default "bfin-uclinux" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2010RC1 && !BR2_BFIN_FDPIC
  258. default "bfin-linux-uclibc" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2010RC1 && BR2_BFIN_FDPIC
  259. default $(BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX) \
  260. if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
  261. config BR2_TOOLCHAIN_EXTERNAL_GLIBC
  262. bool
  263. select BR2_LARGEFILE
  264. select BR2_INET_IPV6
  265. select BR2_INET_RPC
  266. select BR2_USE_WCHAR
  267. select BR2_ENABLE_LOCALE
  268. select BR2_TOOLCHAIN_HAS_THREADS
  269. select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
  270. select BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
  271. config BR2_TOOLCHAIN_EXTERNAL_UCLIBC
  272. bool
  273. if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
  274. choice
  275. prompt "External toolchain C library"
  276. default BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
  277. config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
  278. bool "uClibc"
  279. select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
  280. # For the time being, we assume that all custom external
  281. # toolchains have shadow password support.
  282. select BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
  283. config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC
  284. bool "glibc"
  285. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  286. endchoice
  287. if BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
  288. config BR2_TOOLCHAIN_EXTERNAL_LARGEFILE
  289. bool "Toolchain has large file support?"
  290. select BR2_LARGEFILE
  291. help
  292. Select this option if your external toolchain supports
  293. largefile. If you don't know, leave the default value,
  294. Buildroot will tell you if it's correct or not.
  295. config BR2_TOOLCHAIN_EXTERNAL_INET_IPV6
  296. bool "Toolchain has IPv6 support?"
  297. select BR2_INET_IPV6
  298. help
  299. Select this option if your external toolchain supports
  300. IPv6. If you don't know, leave the default value, Buildroot
  301. will tell you if it's correct or not.
  302. config BR2_TOOLCHAIN_EXTERNAL_INET_RPC
  303. bool "Toolchain has RPC support?"
  304. select BR2_INET_RPC
  305. help
  306. Select this option if your external toolchain supports
  307. RPC. If you don't know, leave the default value, Buildroot
  308. will tell you if it's correct or not.
  309. config BR2_TOOLCHAIN_EXTERNAL_WCHAR
  310. bool "Toolchain has WCHAR support?"
  311. select BR2_USE_WCHAR
  312. help
  313. Select this option if your external toolchain supports
  314. WCHAR. If you don't know, leave the default value, Buildroot
  315. will tell you if it's correct or not.
  316. config BR2_TOOLCHAIN_EXTERNAL_LOCALE
  317. bool "Toolchain has locale support?"
  318. select BR2_TOOLCHAIN_EXTERNAL_WCHAR
  319. select BR2_ENABLE_LOCALE
  320. help
  321. Select this option if your external toolchain has locale
  322. support. If you don't know, leave the default value,
  323. Buildroot will tell you if it's correct or not.
  324. config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
  325. bool "Toolchain has threads support?"
  326. select BR2_TOOLCHAIN_HAS_THREADS
  327. default y
  328. help
  329. Select this option if your external toolchain has thread
  330. support. If you don't know, leave the default value,
  331. Buildroot will tell you if it's correct or not.
  332. config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG
  333. bool "Toolchain has threads debugging support?"
  334. depends on BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
  335. select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
  336. default y
  337. help
  338. Select this option if your external toolchain has thread
  339. debugging support. If you don't know, leave the default
  340. value, Buildroot will tell you if it's correct or not.
  341. endif # BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
  342. config BR2_TOOLCHAIN_EXTERNAL_CXX
  343. bool "Toolchain has C++ support?"
  344. select BR2_INSTALL_LIBSTDCPP
  345. help
  346. Select this option if your external toolchain has C++
  347. support. If you don't know, leave the default value,
  348. Buildroot will tell you if it's correct or not.
  349. config BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS
  350. string "Extra toolchain libraries to be copied to target"
  351. help
  352. If your external toolchain provides extra libraries that
  353. need to be copied to the target filesystem, enter them
  354. here, separated by spaces. They will be copied to the
  355. target's /lib directory.
  356. endif # BR2_TOOLCHAIN_EXTERNAL_CUSTOM
  357. endif # BR2_TOOLCHAIN_EXTERNAL