Config.in 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298
  1. if BR2_TOOLCHAIN_EXTERNAL
  2. choice
  3. prompt "Toolchain"
  4. config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201103
  5. bool "CodeSourcery ARM 2011.03"
  6. depends on BR2_arm
  7. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  8. select BR2_INSTALL_LIBSTDCPP
  9. help
  10. Toolchain for the ARM architecture, from CodeSourcery. It
  11. uses gcc 4.5.2, binutils 2.20.51, glibc 2.13 and gdb 7.2.50,
  12. kernel headers 2.6.38. It has support for the following
  13. 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 "CodeSourcery ARM 2010.09"
  19. depends on BR2_arm
  20. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  21. select BR2_INSTALL_LIBSTDCPP
  22. help
  23. Toolchain for the ARM architecture, from CodeSourcery. It
  24. uses gcc 4.5.1, binutils 2.20, glibc 2.11 and gdb 7.2.50,
  25. kernel headers 2.6.35.2. It has support for the following
  26. 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 "CodeSourcery ARM 2010q1"
  32. depends on BR2_arm
  33. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  34. select BR2_INSTALL_LIBSTDCPP
  35. help
  36. Toolchain for the ARM architecture, from CodeSourcery. It
  37. uses gcc 4.4.1, binutils 2.19, glibc 2.11, gdb 7.0.50 and
  38. kernel headers 2.6.32. It has support for the following
  39. 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 "CodeSourcery ARM 2009q3"
  45. depends on BR2_arm
  46. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  47. select BR2_INSTALL_LIBSTDCPP
  48. help
  49. Toolchain for the ARM architecture, from CodeSourcery. It
  50. uses gcc 4.4.1, binutils 2.19, glibc 2.10 and gdb 6.8 and
  51. kernel headers 2.6.30. It has support for the following
  52. 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 "CodeSourcery ARM 2009q1"
  58. depends on BR2_arm
  59. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  60. select BR2_INSTALL_LIBSTDCPP
  61. help
  62. Toolchain for the ARM architecture, from CodeSourcery. It
  63. uses gcc 4.3.3, binutils 2.19, glibc 2.8 and gdb 6.8 and
  64. kernel headers 2.6.30. It has support for the following
  65. 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 "CodeSourcery MIPS 2011.03"
  71. depends on BR2_mips || BR2_mipsel
  72. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  73. select BR2_INSTALL_LIBSTDCPP
  74. help
  75. Toolchain for the MIPS architecture, from CodeSourcery. It
  76. uses gcc 4.5.2, binutils 2.20.51, glibc 2.13, uClibc 0.9.30
  77. and gdb 7.2.50, kernel headers 2.6.38. It has support for
  78. 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 "CodeSourcery MIPS 4.4"
  93. depends on BR2_mips || BR2_mipsel
  94. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  95. select BR2_INSTALL_LIBSTDCPP
  96. help
  97. Toolchain for the MIPS architecture, from CodeSourcery. It
  98. uses gcc 4.4.1, binutils 2.19, glibc 2.11, uClibc 0.9.30 and
  99. gdb 7.0, kernel headers 2.6.32. It has support for the
  100. 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 "CodeSoucery PowerPC 2010.09"
  115. depends on BR2_powerpc
  116. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  117. select BR2_INSTALL_LIBSTDCPP
  118. help
  119. Toolchain for the PowerPC architecture, from
  120. CodeSourcery. It uses gcc 4.5.1, binutils 2.20, glibc 2.11,
  121. gdb 7.2.50 and kernel headers 2.6.35.2. It has support for
  122. 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_SH201009
  131. bool "CodeSoucery SH 2010.09"
  132. depends on BR2_sh4 || BR2_sh4eb
  133. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  134. select BR2_INSTALL_LIBSTDCPP
  135. help
  136. Toolchain for the SuperH architecture, from CodeSourcery. It
  137. uses gcc 4.5.1, binutils 2.20, glibc 2.11, uClibc 0.9.30,
  138. gdb 7.2.50 and kernel headers 2.6.35.2. It has support for
  139. 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_CUSTOM
  145. bool "Custom toolchain"
  146. help
  147. Use this option to use a custom toolchain pre-installed on
  148. your system.
  149. endchoice
  150. config BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD
  151. bool "Download toolchain automatically"
  152. default y
  153. depends on !BR2_TOOLCHAIN_EXTERNAL_CUSTOM
  154. help
  155. When enabled, Buildroot will automatically download and
  156. install the selected external toolchain. When disabled,
  157. Buildroot will use a pre-installed toolchain.
  158. config BR2_TOOLCHAIN_EXTERNAL_PATH
  159. string "Toolchain path"
  160. default "/path/to/toolchain/usr"
  161. depends on !BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD
  162. help
  163. Path to where the external toolchain is installed.
  164. config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX
  165. string "Toolchain prefix"
  166. depends on BR2_TOOLCHAIN_EXTERNAL_CUSTOM
  167. default "$(ARCH)-linux"
  168. config BR2_TOOLCHAIN_EXTERNAL_PREFIX
  169. string
  170. default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM2009Q1
  171. default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM2010Q1
  172. default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201009
  173. default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201103
  174. default "mips-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS44
  175. default "mips-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201103
  176. default "powerpc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009
  177. default "sh-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201009
  178. default $(BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX) \
  179. if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
  180. config BR2_TOOLCHAIN_EXTERNAL_GLIBC
  181. bool
  182. select BR2_LARGEFILE
  183. select BR2_INET_IPV6
  184. select BR2_INET_RPC
  185. select BR2_USE_WCHAR
  186. select BR2_ENABLE_LOCALE
  187. select BR2_PROGRAM_INVOCATION
  188. select BR2_TOOLCHAIN_HAS_THREADS
  189. config BR2_TOOLCHAIN_EXTERNAL_UCLIBC
  190. bool
  191. if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
  192. choice
  193. prompt "External toolchain C library"
  194. default BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
  195. config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
  196. bool "uClibc"
  197. select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
  198. config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC
  199. bool "glibc"
  200. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  201. endchoice
  202. if BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
  203. config BR2_TOOLCHAIN_EXTERNAL_LARGEFILE
  204. bool "Toolchain has large file support?"
  205. select BR2_LARGEFILE
  206. help
  207. Select this option if your external toolchain supports
  208. largefile. If you don't know, leave the default value,
  209. Buildroot will tell you if it's correct or not.
  210. config BR2_TOOLCHAIN_EXTERNAL_INET_IPV6
  211. bool "Toolchain has IPv6 support?"
  212. select BR2_INET_IPV6
  213. help
  214. Select this option if your external toolchain supports
  215. IPv6. If you don't know, leave the default value, Buildroot
  216. will tell you if it's correct or not.
  217. config BR2_TOOLCHAIN_EXTERNAL_INET_RPC
  218. bool "Toolchain has RPC support?"
  219. select BR2_INET_RPC
  220. help
  221. Select this option if your external toolchain supports
  222. RPC. If you don't know, leave the default value, Buildroot
  223. will tell you if it's correct or not.
  224. config BR2_TOOLCHAIN_EXTERNAL_WCHAR
  225. bool "Toolchain has WCHAR support?"
  226. select BR2_USE_WCHAR
  227. help
  228. Select this option if your external toolchain supports
  229. WCHAR. If you don't know, leave the default value, Buildroot
  230. will tell you if it's correct or not.
  231. config BR2_TOOLCHAIN_EXTERNAL_LOCALE
  232. bool "Toolchain has locale support?"
  233. select BR2_TOOLCHAIN_EXTERNAL_WCHAR
  234. select BR2_ENABLE_LOCALE
  235. help
  236. Select this option if your external toolchain has locale
  237. support. If you don't know, leave the default value,
  238. Buildroot will tell you if it's correct or not.
  239. config BR2_TOOLCHAIN_EXTERNAL_PROGRAM_INVOCATION
  240. bool "Toolchain has program invocation support?"
  241. select BR2_PROGRAM_INVOCATION
  242. help
  243. Select this option if your external toolchain has program
  244. invocation support. If you don't know, leave the default
  245. value, Buildroot will tell you if it's correct or not.
  246. config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
  247. bool "Toolchain has threads support?"
  248. select BR2_TOOLCHAIN_HAS_THREADS
  249. help
  250. Select this option if your external toolchain has thread
  251. support. If you don't know, leave the default value,
  252. Buildroot will tell you if it's correct or not.
  253. endif # BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
  254. config BR2_TOOLCHAIN_EXTERNAL_CXX
  255. bool "Toolchain has C++ support?"
  256. select BR2_INSTALL_LIBSTDCPP
  257. help
  258. Select this option if your external toolchain has C++
  259. support. If you don't know, leave the default value,
  260. Buildroot will tell you if it's correct or not.
  261. endif # BR2_TOOLCHAIN_EXTERNAL_CUSTOM
  262. endif # BR2_TOOLCHAIN_EXTERNAL