Config.in.options 10 KB

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