Config.in.options 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365
  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_12
  75. bool "4.12.x"
  76. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12
  77. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_11
  78. bool "4.11.x"
  79. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11
  80. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_10
  81. bool "4.10.x"
  82. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_10
  83. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_9
  84. bool "4.9.x"
  85. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9
  86. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_8
  87. bool "4.8.x"
  88. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8
  89. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_7
  90. bool "4.7.x"
  91. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7
  92. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_6
  93. bool "4.6.x"
  94. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6
  95. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_5
  96. bool "4.5.x"
  97. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5
  98. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_4
  99. bool "4.4.x"
  100. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4
  101. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_3
  102. bool "4.3.x"
  103. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3
  104. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_2
  105. bool "4.2.x"
  106. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
  107. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_1
  108. bool "4.1.x"
  109. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1
  110. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_0
  111. bool "4.0.x"
  112. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
  113. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_19
  114. bool "3.19.x"
  115. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19
  116. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_18
  117. bool "3.18.x"
  118. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
  119. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_17
  120. bool "3.17.x"
  121. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
  122. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_16
  123. bool "3.16.x"
  124. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16
  125. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_15
  126. bool "3.15.x"
  127. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
  128. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_14
  129. bool "3.14.x"
  130. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
  131. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_13
  132. bool "3.13.x"
  133. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
  134. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_12
  135. bool "3.12.x"
  136. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
  137. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_11
  138. bool "3.11.x"
  139. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
  140. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_10
  141. bool "3.10.x"
  142. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
  143. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_9
  144. bool "3.9.x"
  145. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
  146. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_8
  147. bool "3.8.x"
  148. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
  149. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_7
  150. bool "3.7.x"
  151. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
  152. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_6
  153. bool "3.6.x"
  154. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6
  155. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_5
  156. bool "3.5.x"
  157. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
  158. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_4
  159. bool "3.4.x"
  160. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
  161. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_3
  162. bool "3.3.x"
  163. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
  164. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_2
  165. bool "3.2.x"
  166. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
  167. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_1
  168. bool "3.1.x"
  169. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
  170. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_0
  171. bool "3.0.x"
  172. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
  173. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_REALLY_OLD
  174. bool "2.6.x"
  175. endchoice
  176. choice
  177. prompt "External toolchain C library"
  178. default BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
  179. config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
  180. bool "uClibc/uClibc-ng"
  181. select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
  182. # For the time being, we assume that all custom external
  183. # toolchains have shadow password support.
  184. select BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
  185. help
  186. Select this option if your external toolchain uses the
  187. uClibc (available from http://www.uclibc.org/)
  188. or uClibc-ng (available from http://www.uclibc-ng.org)
  189. C library.
  190. config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC
  191. bool "glibc/eglibc"
  192. depends on !BR2_STATIC_LIBS
  193. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  194. help
  195. Select this option if your external toolchain uses the GNU C
  196. library (available from https://www.gnu.org/software/libc/)
  197. or its variant the eglibc library (http://www.eglibc.org/).
  198. Note: eglibc is a variant of glibc that (among other things)
  199. can be configured to exclude some of its features. Using a
  200. toolchain with eglibc configured to exclude key features may
  201. cause build failures to some packages.
  202. comment "(e)glibc only available with shared lib support"
  203. depends on BR2_STATIC_LIBS
  204. config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_MUSL
  205. bool "musl (experimental)"
  206. select BR2_TOOLCHAIN_EXTERNAL_MUSL
  207. help
  208. Select this option if your external toolchain uses the
  209. 'musl' C library, available from http://www.musl-libc.org/.
  210. endchoice
  211. if BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
  212. config BR2_TOOLCHAIN_EXTERNAL_WCHAR
  213. bool "Toolchain has WCHAR support?"
  214. select BR2_USE_WCHAR
  215. help
  216. Select this option if your external toolchain supports
  217. WCHAR. If you don't know, leave the default value, Buildroot
  218. will tell you if it's correct or not.
  219. config BR2_TOOLCHAIN_EXTERNAL_LOCALE
  220. bool "Toolchain has locale support?"
  221. select BR2_TOOLCHAIN_EXTERNAL_WCHAR
  222. select BR2_ENABLE_LOCALE
  223. help
  224. Select this option if your external toolchain has locale
  225. support. If you don't know, leave the default value,
  226. Buildroot will tell you if it's correct or not.
  227. config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
  228. bool "Toolchain has threads support?"
  229. select BR2_TOOLCHAIN_HAS_THREADS
  230. default y
  231. help
  232. Select this option if your external toolchain has thread
  233. support. If you don't know, leave the default value,
  234. Buildroot will tell you if it's correct or not.
  235. if BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
  236. config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG
  237. bool "Toolchain has threads debugging support?"
  238. select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
  239. default y
  240. help
  241. Select this option if your external toolchain has thread
  242. debugging support. If you don't know, leave the default
  243. value, Buildroot will tell you if it's correct or not.
  244. config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_NPTL
  245. bool "Toolchain has NPTL threads support?"
  246. select BR2_TOOLCHAIN_HAS_THREADS_NPTL
  247. default y
  248. help
  249. Select this option if your external toolchain uses the NPTL
  250. (Native Posix Thread Library) implementation of Posix
  251. threads. 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_HAS_THREADS
  254. endif # BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
  255. config BR2_TOOLCHAIN_EXTERNAL_HAS_SSP
  256. bool "Toolchain has SSP support?"
  257. select BR2_TOOLCHAIN_HAS_SSP
  258. default y if BR2_TOOLCHAIN_EXTERNAL_GLIBC
  259. default y if BR2_TOOLCHAIN_EXTERNAL_MUSL
  260. help
  261. Selection this option if your external toolchain has Stack
  262. Smashing Protection support enabled. If you don't know,
  263. leave the default value, Buildroot will tell you if it's
  264. correct or not.
  265. config BR2_TOOLCHAIN_EXTERNAL_INET_RPC
  266. bool "Toolchain has RPC support?"
  267. select BR2_TOOLCHAIN_HAS_NATIVE_RPC
  268. depends on !BR2_TOOLCHAIN_EXTERNAL_MUSL
  269. default y if BR2_TOOLCHAIN_EXTERNAL_GLIBC
  270. help
  271. Select this option if your external toolchain supports
  272. RPC. If you don't know, leave the default value, Buildroot
  273. will tell you if it's correct or not.
  274. config BR2_TOOLCHAIN_EXTERNAL_CXX
  275. bool "Toolchain has C++ support?"
  276. select BR2_INSTALL_LIBSTDCPP
  277. help
  278. Select this option if your external toolchain has C++
  279. support. If you don't know, leave the default value,
  280. Buildroot will tell you if it's correct or not.
  281. config BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS
  282. string "Extra toolchain libraries to be copied to target"
  283. help
  284. If your external toolchain provides extra libraries that
  285. need to be copied to the target filesystem, enter them
  286. here, separated by spaces. They will be copied to the
  287. target's /lib directory.
  288. endif