Config.in.options 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369
  1. if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
  2. config BR2_TOOLCHAIN_EXTERNAL_PREFIX
  3. default BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX
  4. config BR2_PACKAGE_PROVIDES_TOOLCHAIN_EXTERNAL
  5. default "toolchain-external-custom"
  6. config BR2_TOOLCHAIN_EXTERNAL_URL
  7. string "Toolchain URL"
  8. depends on BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD
  9. help
  10. URL of the custom toolchain tarball to download and install.
  11. config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX
  12. string "Toolchain prefix"
  13. default "$(ARCH)-linux"
  14. choice
  15. bool "External toolchain gcc version"
  16. default BR2_TOOLCHAIN_EXTERNAL_GCC_4_3
  17. help
  18. Set to the gcc version that is used by your external
  19. toolchain.
  20. config BR2_TOOLCHAIN_EXTERNAL_GCC_7
  21. bool "7.x"
  22. select BR2_TOOLCHAIN_GCC_AT_LEAST_7
  23. config BR2_TOOLCHAIN_EXTERNAL_GCC_6
  24. bool "6.x"
  25. select BR2_TOOLCHAIN_GCC_AT_LEAST_6
  26. config BR2_TOOLCHAIN_EXTERNAL_GCC_5
  27. bool "5.x"
  28. select BR2_TOOLCHAIN_GCC_AT_LEAST_5
  29. config BR2_TOOLCHAIN_EXTERNAL_GCC_4_9
  30. bool "4.9.x"
  31. select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
  32. config BR2_TOOLCHAIN_EXTERNAL_GCC_4_8
  33. bool "4.8.x"
  34. select BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
  35. config BR2_TOOLCHAIN_EXTERNAL_GCC_4_7
  36. bool "4.7.x"
  37. select BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
  38. config BR2_TOOLCHAIN_EXTERNAL_GCC_4_6
  39. bool "4.6.x"
  40. select BR2_TOOLCHAIN_GCC_AT_LEAST_4_6
  41. config BR2_TOOLCHAIN_EXTERNAL_GCC_4_5
  42. bool "4.5.x"
  43. select BR2_TOOLCHAIN_GCC_AT_LEAST_4_5
  44. config BR2_TOOLCHAIN_EXTERNAL_GCC_4_4
  45. bool "4.4.x"
  46. select BR2_TOOLCHAIN_GCC_AT_LEAST_4_4
  47. config BR2_TOOLCHAIN_EXTERNAL_GCC_4_3
  48. bool "4.3.x"
  49. select BR2_TOOLCHAIN_GCC_AT_LEAST_4_3
  50. config BR2_TOOLCHAIN_EXTERNAL_GCC_OLD
  51. bool "older"
  52. help
  53. Use this option if your GCC version is older than any of the
  54. above.
  55. Note that the Buildroot community doesn't do any testing with
  56. such old toolchains. Some packages may fail to build in
  57. surprising ways, or the generated root filesystem may not
  58. work at all. Use such old toolchains at your own risk.
  59. endchoice
  60. choice
  61. bool "External toolchain kernel headers series"
  62. default BR2_TOOLCHAIN_EXTERNAL_HEADERS_REALLY_OLD
  63. help
  64. Set to the kernel headers version that were used to build
  65. this external toolchain.
  66. This is used to hide/show some packages that have strict
  67. requirements on the version of kernel headers.
  68. If unsure what version your toolchain is using, you can look
  69. at the value of LINUX_VERSION_CODE in linux/version.h in your
  70. toolchain. The Linux version is M.m.p, with:
  71. M = ( LINUX_VERSION_CODE >> 16 ) & 0xFF
  72. m = ( LINUX_VERSION_CODE >> 8 ) & 0xFF
  73. p = ( LINUX_VERSION_CODE >> 0 ) & 0xFF
  74. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_13
  75. bool "4.13.x"
  76. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_13
  77. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_12
  78. bool "4.12.x"
  79. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12
  80. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_11
  81. bool "4.11.x"
  82. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11
  83. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_10
  84. bool "4.10.x"
  85. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_10
  86. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_9
  87. bool "4.9.x"
  88. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9
  89. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_8
  90. bool "4.8.x"
  91. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8
  92. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_7
  93. bool "4.7.x"
  94. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7
  95. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_6
  96. bool "4.6.x"
  97. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6
  98. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_5
  99. bool "4.5.x"
  100. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5
  101. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_4
  102. bool "4.4.x"
  103. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4
  104. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_3
  105. bool "4.3.x"
  106. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3
  107. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_2
  108. bool "4.2.x"
  109. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
  110. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_1
  111. bool "4.1.x"
  112. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1
  113. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_0
  114. bool "4.0.x"
  115. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
  116. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_19
  117. bool "3.19.x"
  118. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19
  119. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_18
  120. bool "3.18.x"
  121. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
  122. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_17
  123. bool "3.17.x"
  124. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
  125. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_16
  126. bool "3.16.x"
  127. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16
  128. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_15
  129. bool "3.15.x"
  130. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
  131. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_14
  132. bool "3.14.x"
  133. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
  134. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_13
  135. bool "3.13.x"
  136. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
  137. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_12
  138. bool "3.12.x"
  139. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
  140. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_11
  141. bool "3.11.x"
  142. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
  143. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_10
  144. bool "3.10.x"
  145. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
  146. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_9
  147. bool "3.9.x"
  148. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
  149. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_8
  150. bool "3.8.x"
  151. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
  152. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_7
  153. bool "3.7.x"
  154. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
  155. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_6
  156. bool "3.6.x"
  157. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6
  158. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_5
  159. bool "3.5.x"
  160. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
  161. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_4
  162. bool "3.4.x"
  163. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
  164. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_3
  165. bool "3.3.x"
  166. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
  167. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_2
  168. bool "3.2.x"
  169. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
  170. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_1
  171. bool "3.1.x"
  172. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
  173. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_0
  174. bool "3.0.x"
  175. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
  176. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_REALLY_OLD
  177. bool "2.6.x"
  178. endchoice
  179. choice
  180. prompt "External toolchain C library"
  181. default BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
  182. config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
  183. bool "uClibc/uClibc-ng"
  184. select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
  185. # For the time being, we assume that all custom external
  186. # toolchains have shadow password support.
  187. select BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
  188. help
  189. Select this option if your external toolchain uses the
  190. uClibc (available from http://www.uclibc.org/)
  191. or uClibc-ng (available from http://www.uclibc-ng.org)
  192. C library.
  193. config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC
  194. bool "glibc/eglibc"
  195. depends on !BR2_STATIC_LIBS
  196. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  197. help
  198. Select this option if your external toolchain uses the GNU C
  199. library (available from https://www.gnu.org/software/libc/)
  200. or its variant the eglibc library (http://www.eglibc.org/).
  201. Note: eglibc is a variant of glibc that (among other things)
  202. can be configured to exclude some of its features. Using a
  203. toolchain with eglibc configured to exclude key features may
  204. cause build failures to some packages.
  205. comment "(e)glibc only available with shared lib support"
  206. depends on BR2_STATIC_LIBS
  207. config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_MUSL
  208. bool "musl (experimental)"
  209. select BR2_TOOLCHAIN_EXTERNAL_MUSL
  210. help
  211. Select this option if your external toolchain uses the
  212. 'musl' C library, available from http://www.musl-libc.org/.
  213. endchoice
  214. if BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
  215. config BR2_TOOLCHAIN_EXTERNAL_WCHAR
  216. bool "Toolchain has WCHAR support?"
  217. select BR2_USE_WCHAR
  218. help
  219. Select this option if your external toolchain supports
  220. WCHAR. If you don't know, leave the default value, Buildroot
  221. will tell you if it's correct or not.
  222. config BR2_TOOLCHAIN_EXTERNAL_LOCALE
  223. bool "Toolchain has locale support?"
  224. select BR2_TOOLCHAIN_EXTERNAL_WCHAR
  225. select BR2_ENABLE_LOCALE
  226. help
  227. Select this option if your external toolchain has locale
  228. support. If you don't know, leave the default value,
  229. Buildroot will tell you if it's correct or not.
  230. config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
  231. bool "Toolchain has threads support?"
  232. select BR2_TOOLCHAIN_HAS_THREADS
  233. default y
  234. help
  235. Select this option if your external toolchain has thread
  236. support. If you don't know, leave the default value,
  237. Buildroot will tell you if it's correct or not.
  238. if BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
  239. config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG
  240. bool "Toolchain has threads debugging support?"
  241. select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
  242. default y
  243. help
  244. Select this option if your external toolchain has thread
  245. debugging support. If you don't know, leave the default
  246. value, Buildroot will tell you if it's correct or not.
  247. config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_NPTL
  248. bool "Toolchain has NPTL threads support?"
  249. select BR2_TOOLCHAIN_HAS_THREADS_NPTL
  250. default y
  251. help
  252. Select this option if your external toolchain uses the NPTL
  253. (Native Posix Thread Library) implementation of Posix
  254. threads. If you don't know, leave the default value,
  255. Buildroot will tell you if it's correct or not.
  256. endif # BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
  257. endif # BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
  258. config BR2_TOOLCHAIN_EXTERNAL_HAS_SSP
  259. bool "Toolchain has SSP support?"
  260. select BR2_TOOLCHAIN_HAS_SSP
  261. default y if BR2_TOOLCHAIN_EXTERNAL_GLIBC
  262. default y if BR2_TOOLCHAIN_EXTERNAL_MUSL
  263. help
  264. Selection this option if your external toolchain has Stack
  265. Smashing Protection support enabled. If you don't know,
  266. leave the default value, Buildroot will tell you if it's
  267. correct or not.
  268. config BR2_TOOLCHAIN_EXTERNAL_INET_RPC
  269. bool "Toolchain has RPC support?"
  270. select BR2_TOOLCHAIN_HAS_NATIVE_RPC
  271. depends on !BR2_TOOLCHAIN_EXTERNAL_MUSL
  272. default y if BR2_TOOLCHAIN_EXTERNAL_GLIBC
  273. help
  274. Select this option if your external toolchain supports
  275. RPC. If you don't know, leave the default value, Buildroot
  276. will tell you if it's correct or not.
  277. config BR2_TOOLCHAIN_EXTERNAL_CXX
  278. bool "Toolchain has C++ support?"
  279. select BR2_INSTALL_LIBSTDCPP
  280. help
  281. Select this option if your external toolchain has C++
  282. support. If you don't know, leave the default value,
  283. Buildroot will tell you if it's correct or not.
  284. config BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS
  285. string "Extra toolchain libraries to be copied to target"
  286. help
  287. If your external toolchain provides extra libraries that
  288. need to be copied to the target filesystem, enter them
  289. here, separated by spaces. They will be copied to the
  290. target's /lib directory.
  291. endif