Config.in 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385
  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_INSTALL_LIBSTDCPP
  167. help
  168. Sourcery CodeBench toolchain for the SuperH architecture,
  169. from Mentor Graphics. It uses gcc 4.5.2, binutils 2.20,
  170. uClibc 0.9.30, gdb 7.2.50 and kernel headers 2.6.38. It has
  171. support for the following variants:
  172. - SH2A, uClibc, big endian
  173. config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201009
  174. bool "Sourcery CodeBench SH 2010.09"
  175. depends on BR2_sh2a
  176. select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
  177. select BR2_LARGEFILE
  178. select BR2_INET_RPC
  179. select BR2_USE_WCHAR
  180. select BR2_TOOLCHAIN_HAS_THREADS
  181. select BR2_INSTALL_LIBSTDCPP
  182. help
  183. Sourcery CodeBench toolchain for the SuperH architecture,
  184. from Mentor Graphics. It uses gcc 4.5.1, binutils 2.20,
  185. uClibc 0.9.30, gdb 7.2.50 and kernel headers 2.6.35.2. It
  186. has support for the following variants:
  187. - SH2A, uClibc, big endian
  188. config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201009
  189. bool "Sourcery CodeBench x86/x86_64 2010.09"
  190. depends on BR2_i386 || BR2_x86_64
  191. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  192. select BR2_INSTALL_LIBSTDCPP
  193. help
  194. Sourcery CodeBench toolchain for the x86/x86_64
  195. architectures, from Mentor Graphics. It uses gcc 4.5.1,
  196. binutils 2.20, glibc 2.11, gdb 7.2.50 and kernel headers
  197. 2.6.35.2. It has support for the following variants:
  198. - Intel Pentium 4, glibc, 32 bits
  199. - Intel Atom, glibc, 32 bits
  200. - Intel Xeon, glibc, 64 bits
  201. - Intel Core 2, glibc, 64 bits
  202. config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2010RC1
  203. bool "Blackfin.uclinux.org 2010RC1"
  204. depends on BR2_bfin
  205. select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
  206. select BR2_INSTALL_LIBSTDCPP
  207. select BR2_LARGEFILE
  208. select BR2_INET_IPV6
  209. select BR2_INET_RPC
  210. select BR2_USE_WCHAR
  211. select BR2_TOOLCHAIN_HAS_THREADS
  212. help
  213. Toolchain for the Blackfin architecture, from
  214. http://blackfin.uclinux.org.
  215. config BR2_TOOLCHAIN_EXTERNAL_CUSTOM
  216. bool "Custom toolchain"
  217. help
  218. Use this option to use a custom toolchain pre-installed on
  219. your system.
  220. endchoice
  221. config BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD
  222. bool "Download toolchain automatically"
  223. default y
  224. depends on !BR2_TOOLCHAIN_EXTERNAL_CUSTOM
  225. help
  226. When enabled, Buildroot will automatically download and
  227. install the selected external toolchain. When disabled,
  228. Buildroot will use a pre-installed toolchain.
  229. config BR2_TOOLCHAIN_EXTERNAL_PATH
  230. string "Toolchain path"
  231. default "/path/to/toolchain/usr"
  232. depends on !BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD
  233. help
  234. Path to where the external toolchain is installed.
  235. config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX
  236. string "Toolchain prefix"
  237. depends on BR2_TOOLCHAIN_EXTERNAL_CUSTOM
  238. default "$(ARCH)-linux"
  239. config BR2_TOOLCHAIN_EXTERNAL_PREFIX
  240. string
  241. default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM2009Q1
  242. default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM2009Q3
  243. default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM2010Q1
  244. default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201009
  245. default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201103
  246. default "mips-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS44
  247. default "mips-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201103
  248. default "powerpc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009
  249. default "sh-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201009
  250. default "sh-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201103
  251. default "sh-uclinux" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201009
  252. default "sh-uclinux" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201103
  253. default "i686-pc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201009
  254. default "bfin-uclinux" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2010RC1 && !BR2_BFIN_FDPIC
  255. default "bfin-linux-uclibc" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2010RC1 && BR2_BFIN_FDPIC
  256. default $(BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX) \
  257. if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
  258. config BR2_TOOLCHAIN_EXTERNAL_GLIBC
  259. bool
  260. select BR2_LARGEFILE
  261. select BR2_INET_IPV6
  262. select BR2_INET_RPC
  263. select BR2_USE_WCHAR
  264. select BR2_ENABLE_LOCALE
  265. select BR2_TOOLCHAIN_HAS_THREADS
  266. select BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
  267. config BR2_TOOLCHAIN_EXTERNAL_UCLIBC
  268. bool
  269. if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
  270. choice
  271. prompt "External toolchain C library"
  272. default BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
  273. config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
  274. bool "uClibc"
  275. select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
  276. # For the time being, we assume that all custom external
  277. # toolchains have shadow password support.
  278. select BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
  279. config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC
  280. bool "glibc"
  281. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  282. endchoice
  283. if BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
  284. config BR2_TOOLCHAIN_EXTERNAL_LARGEFILE
  285. bool "Toolchain has large file support?"
  286. select BR2_LARGEFILE
  287. help
  288. Select this option if your external toolchain supports
  289. largefile. If you don't know, leave the default value,
  290. Buildroot will tell you if it's correct or not.
  291. config BR2_TOOLCHAIN_EXTERNAL_INET_IPV6
  292. bool "Toolchain has IPv6 support?"
  293. select BR2_INET_IPV6
  294. help
  295. Select this option if your external toolchain supports
  296. IPv6. If you don't know, leave the default value, Buildroot
  297. will tell you if it's correct or not.
  298. config BR2_TOOLCHAIN_EXTERNAL_INET_RPC
  299. bool "Toolchain has RPC support?"
  300. select BR2_INET_RPC
  301. help
  302. Select this option if your external toolchain supports
  303. RPC. If you don't know, leave the default value, Buildroot
  304. will tell you if it's correct or not.
  305. config BR2_TOOLCHAIN_EXTERNAL_WCHAR
  306. bool "Toolchain has WCHAR support?"
  307. select BR2_USE_WCHAR
  308. help
  309. Select this option if your external toolchain supports
  310. WCHAR. If you don't know, leave the default value, Buildroot
  311. will tell you if it's correct or not.
  312. config BR2_TOOLCHAIN_EXTERNAL_LOCALE
  313. bool "Toolchain has locale support?"
  314. select BR2_TOOLCHAIN_EXTERNAL_WCHAR
  315. select BR2_ENABLE_LOCALE
  316. help
  317. Select this option if your external toolchain has locale
  318. support. If you don't know, leave the default value,
  319. Buildroot will tell you if it's correct or not.
  320. config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
  321. bool "Toolchain has threads support?"
  322. select BR2_TOOLCHAIN_HAS_THREADS
  323. default y
  324. help
  325. Select this option if your external toolchain has thread
  326. support. If you don't know, leave the default value,
  327. Buildroot will tell you if it's correct or not.
  328. endif # BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
  329. config BR2_TOOLCHAIN_EXTERNAL_CXX
  330. bool "Toolchain has C++ support?"
  331. select BR2_INSTALL_LIBSTDCPP
  332. help
  333. Select this option if your external toolchain has C++
  334. support. If you don't know, leave the default value,
  335. Buildroot will tell you if it's correct or not.
  336. config BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS
  337. string "Extra toolchain libraries to be copied to target"
  338. help
  339. If your external toolchain provides extra libraries that
  340. need to be copied to the target filesystem, enter them
  341. here, separated by spaces. They will be copied to the
  342. target's /lib directory.
  343. endif # BR2_TOOLCHAIN_EXTERNAL_CUSTOM
  344. endif # BR2_TOOLCHAIN_EXTERNAL