Config.in.options 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611
  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_REL_BIN_PATH
  12. string "Toolchain relative binary path"
  13. default "bin"
  14. depends on BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD
  15. help
  16. Path to where the binaries (e.g. the compiler) can be found,
  17. relative to the downloaded toolchain root directory. The
  18. default is "bin" and is correct for most toolchains.
  19. config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX
  20. string "Toolchain prefix"
  21. default "$(ARCH)-linux"
  22. help
  23. Component name prefix used by your external toolchain.
  24. Typically, this is the target tuple, e.g. something that
  25. looks like: $(ARCH)-unknown-linux-gnu.
  26. If unsure, look at the "bin" directory of your toolchain and
  27. note the part of component name before the last dash, i.e. if
  28. you call the toolchain's gcc as $(ARCH)-unknown-linux-gnu-gcc,
  29. the prefix is $(ARCH)-unknown-linux-gnu.
  30. Note that Buildroot toolchains have shorter aliases that look
  31. like $(ARCH)-linux, as symlinks to the full-tuple components,
  32. so you can leave this option at default value if you use them
  33. as external toolchain.
  34. choice
  35. bool "External toolchain gcc version"
  36. help
  37. Set to the gcc version that is used by your external
  38. toolchain.
  39. config BR2_TOOLCHAIN_EXTERNAL_GCC_14
  40. bool "14.x"
  41. select BR2_TOOLCHAIN_GCC_AT_LEAST_14
  42. config BR2_TOOLCHAIN_EXTERNAL_GCC_13
  43. bool "13.x"
  44. select BR2_TOOLCHAIN_GCC_AT_LEAST_13
  45. config BR2_TOOLCHAIN_EXTERNAL_GCC_12
  46. bool "12.x"
  47. depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_13
  48. select BR2_TOOLCHAIN_GCC_AT_LEAST_12
  49. config BR2_TOOLCHAIN_EXTERNAL_GCC_11
  50. bool "11.x"
  51. depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_12
  52. select BR2_TOOLCHAIN_GCC_AT_LEAST_11
  53. config BR2_TOOLCHAIN_EXTERNAL_GCC_10
  54. bool "10.x"
  55. depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_11
  56. select BR2_TOOLCHAIN_GCC_AT_LEAST_10
  57. config BR2_TOOLCHAIN_EXTERNAL_GCC_9
  58. bool "9.x"
  59. depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_10
  60. select BR2_TOOLCHAIN_GCC_AT_LEAST_9
  61. config BR2_TOOLCHAIN_EXTERNAL_GCC_8
  62. bool "8.x"
  63. depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_9
  64. select BR2_TOOLCHAIN_GCC_AT_LEAST_8
  65. config BR2_TOOLCHAIN_EXTERNAL_GCC_7
  66. bool "7.x"
  67. depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_8
  68. select BR2_TOOLCHAIN_GCC_AT_LEAST_7
  69. config BR2_TOOLCHAIN_EXTERNAL_GCC_6
  70. bool "6.x"
  71. depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_7
  72. select BR2_TOOLCHAIN_GCC_AT_LEAST_6
  73. config BR2_TOOLCHAIN_EXTERNAL_GCC_5
  74. bool "5.x"
  75. depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_6
  76. select BR2_TOOLCHAIN_GCC_AT_LEAST_5
  77. config BR2_TOOLCHAIN_EXTERNAL_GCC_4_9
  78. bool "4.9.x"
  79. depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_5
  80. select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
  81. config BR2_TOOLCHAIN_EXTERNAL_GCC_4_8
  82. bool "4.8.x"
  83. depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_4_9
  84. select BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
  85. config BR2_TOOLCHAIN_EXTERNAL_GCC_4_7
  86. bool "4.7.x"
  87. depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_4_8
  88. select BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
  89. config BR2_TOOLCHAIN_EXTERNAL_GCC_4_6
  90. bool "4.6.x"
  91. depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_4_8
  92. select BR2_TOOLCHAIN_GCC_AT_LEAST_4_6
  93. config BR2_TOOLCHAIN_EXTERNAL_GCC_4_5
  94. bool "4.5.x"
  95. depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_4_8
  96. select BR2_TOOLCHAIN_GCC_AT_LEAST_4_5
  97. config BR2_TOOLCHAIN_EXTERNAL_GCC_4_4
  98. bool "4.4.x"
  99. depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_4_8
  100. select BR2_TOOLCHAIN_GCC_AT_LEAST_4_4
  101. config BR2_TOOLCHAIN_EXTERNAL_GCC_4_3
  102. bool "4.3.x"
  103. depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_4_8
  104. select BR2_TOOLCHAIN_GCC_AT_LEAST_4_3
  105. config BR2_TOOLCHAIN_EXTERNAL_GCC_OLD
  106. bool "older"
  107. depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_4_8
  108. help
  109. Use this option if your GCC version is older than any of the
  110. above.
  111. Note that the Buildroot community doesn't do any testing with
  112. such old toolchains. Some packages may fail to build in
  113. surprising ways, or the generated root filesystem may not
  114. work at all. Use such old toolchains at your own risk.
  115. endchoice
  116. comment "GCC older than 4.8 is not tested by Buildroot. Use at your own risk."
  117. depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
  118. choice
  119. bool "External toolchain kernel headers series"
  120. default BR2_TOOLCHAIN_EXTERNAL_HEADERS_REALLY_OLD
  121. help
  122. Set to the kernel headers version that were used to build
  123. this external toolchain.
  124. This is used to hide/show some packages that have strict
  125. requirements on the version of kernel headers.
  126. If unsure what version your toolchain is using, you can look
  127. at the value of LINUX_VERSION_CODE in linux/version.h in your
  128. toolchain. The Linux version is M.m.p, with:
  129. M = ( LINUX_VERSION_CODE >> 16 ) & 0xFF
  130. m = ( LINUX_VERSION_CODE >> 8 ) & 0xFF
  131. p = ( LINUX_VERSION_CODE >> 0 ) & 0xFF
  132. If your toolchain uses headers newer than the latest version
  133. in the choice, then select the latest version.
  134. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_6_10
  135. bool "6.10.x or later"
  136. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_10
  137. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_6_9
  138. bool "6.9.x"
  139. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_9
  140. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_6_8
  141. bool "6.8.x"
  142. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_8
  143. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_6_7
  144. bool "6.7.x"
  145. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_7
  146. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_6_6
  147. bool "6.6.x"
  148. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_6
  149. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_6_5
  150. bool "6.5.x"
  151. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_5
  152. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_6_4
  153. bool "6.4.x"
  154. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_4
  155. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_6_3
  156. bool "6.3.x"
  157. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_3
  158. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_6_2
  159. bool "6.2.x"
  160. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_2
  161. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_6_1
  162. bool "6.1.x"
  163. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_1
  164. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_6_0
  165. bool "6.0.x"
  166. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_0
  167. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_19
  168. bool "5.19.x"
  169. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_19
  170. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_18
  171. bool "5.18.x"
  172. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_18
  173. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_17
  174. bool "5.17.x"
  175. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_17
  176. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_16
  177. bool "5.16.x"
  178. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_16
  179. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_15
  180. bool "5.15.x"
  181. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_15
  182. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_14
  183. bool "5.14.x"
  184. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_14
  185. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_13
  186. bool "5.13.x"
  187. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_13
  188. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_12
  189. bool "5.12.x"
  190. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_12
  191. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_11
  192. bool "5.11"
  193. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_11
  194. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_10
  195. bool "5.10.x"
  196. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_10
  197. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_9
  198. bool "5.9.x"
  199. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_9
  200. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_8
  201. bool "5.8.x"
  202. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_8
  203. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_7
  204. bool "5.7.x"
  205. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_7
  206. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_6
  207. bool "5.6.x"
  208. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_6
  209. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_5
  210. bool "5.5.x"
  211. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_5
  212. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_4
  213. bool "5.4.x"
  214. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4
  215. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_3
  216. bool "5.3.x"
  217. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_3
  218. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_2
  219. bool "5.2.x"
  220. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_2
  221. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_1
  222. bool "5.1.x"
  223. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1
  224. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_0
  225. bool "5.0.x"
  226. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0
  227. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_20
  228. bool "4.20.x"
  229. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_20
  230. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_19
  231. bool "4.19.x"
  232. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_19
  233. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_18
  234. bool "4.18.x"
  235. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_18
  236. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_17
  237. bool "4.17.x"
  238. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_17
  239. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_16
  240. bool "4.16.x"
  241. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_16
  242. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_15
  243. bool "4.15.x"
  244. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_15
  245. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_14
  246. bool "4.14.x"
  247. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14
  248. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_13
  249. bool "4.13.x"
  250. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_13
  251. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_12
  252. bool "4.12.x"
  253. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12
  254. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_11
  255. bool "4.11.x"
  256. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11
  257. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_10
  258. bool "4.10.x"
  259. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_10
  260. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_9
  261. bool "4.9.x"
  262. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9
  263. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_8
  264. bool "4.8.x"
  265. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8
  266. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_7
  267. bool "4.7.x"
  268. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7
  269. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_6
  270. bool "4.6.x"
  271. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6
  272. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_5
  273. bool "4.5.x"
  274. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5
  275. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_4
  276. bool "4.4.x"
  277. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4
  278. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_3
  279. bool "4.3.x"
  280. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3
  281. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_2
  282. bool "4.2.x"
  283. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
  284. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_1
  285. bool "4.1.x"
  286. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1
  287. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_0
  288. bool "4.0.x"
  289. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
  290. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_19
  291. bool "3.19.x"
  292. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19
  293. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_18
  294. bool "3.18.x"
  295. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
  296. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_17
  297. bool "3.17.x"
  298. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
  299. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_16
  300. bool "3.16.x"
  301. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16
  302. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_15
  303. bool "3.15.x"
  304. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
  305. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_14
  306. bool "3.14.x"
  307. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
  308. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_13
  309. bool "3.13.x"
  310. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
  311. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_12
  312. bool "3.12.x"
  313. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
  314. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_11
  315. bool "3.11.x"
  316. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
  317. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_10
  318. bool "3.10.x"
  319. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
  320. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_9
  321. bool "3.9.x"
  322. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
  323. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_8
  324. bool "3.8.x"
  325. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
  326. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_7
  327. bool "3.7.x"
  328. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
  329. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_6
  330. bool "3.6.x"
  331. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6
  332. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_5
  333. bool "3.5.x"
  334. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
  335. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_4
  336. bool "3.4.x"
  337. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
  338. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_3
  339. bool "3.3.x"
  340. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
  341. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_2
  342. bool "3.2.x"
  343. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
  344. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_1
  345. bool "3.1.x"
  346. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
  347. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_0
  348. bool "3.0.x"
  349. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
  350. config BR2_TOOLCHAIN_EXTERNAL_HEADERS_REALLY_OLD
  351. bool "2.6.x"
  352. endchoice
  353. comment "Kernel headers older than 3.13 is not tested by Buildroot. Use at your own risk."
  354. depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
  355. choice
  356. prompt "External toolchain C library"
  357. default BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
  358. config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
  359. bool "uClibc/uClibc-ng"
  360. select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
  361. help
  362. Select this option if your external toolchain uses the
  363. uClibc (available from http://www.uclibc.org/)
  364. or uClibc-ng (available from http://www.uclibc-ng.org)
  365. C library.
  366. config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC
  367. bool "glibc"
  368. select BR2_TOOLCHAIN_EXTERNAL_GLIBC
  369. help
  370. Select this option if your external toolchain uses the GNU C
  371. library (available from https://www.gnu.org/software/libc/).
  372. config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_MUSL
  373. bool "musl (experimental)"
  374. select BR2_TOOLCHAIN_EXTERNAL_MUSL
  375. help
  376. Select this option if your external toolchain uses the
  377. 'musl' C library, available from http://www.musl-libc.org/.
  378. endchoice
  379. if BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
  380. config BR2_TOOLCHAIN_EXTERNAL_WCHAR
  381. bool "Toolchain has WCHAR support?"
  382. select BR2_USE_WCHAR
  383. help
  384. Select this option if your external toolchain supports
  385. WCHAR. If you don't know, leave the default value, Buildroot
  386. will tell you if it's correct or not.
  387. config BR2_TOOLCHAIN_EXTERNAL_LOCALE
  388. bool "Toolchain has locale support?"
  389. select BR2_TOOLCHAIN_EXTERNAL_WCHAR
  390. select BR2_ENABLE_LOCALE
  391. help
  392. Select this option if your external toolchain has locale
  393. support. If you don't know, leave the default value,
  394. Buildroot will tell you if it's correct or not.
  395. config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
  396. bool "Toolchain has threads support?"
  397. default y
  398. select BR2_TOOLCHAIN_HAS_THREADS
  399. help
  400. Select this option if your external toolchain has thread
  401. support. If you don't know, leave the default value,
  402. Buildroot will tell you if it's correct or not.
  403. if BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
  404. config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG
  405. bool "Toolchain has threads debugging support?"
  406. default y
  407. select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
  408. help
  409. Select this option if your external toolchain has thread
  410. debugging support. If you don't know, leave the default
  411. value, Buildroot will tell you if it's correct or not.
  412. config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_NPTL
  413. bool "Toolchain has NPTL threads support?"
  414. default y
  415. select BR2_TOOLCHAIN_HAS_THREADS_NPTL
  416. help
  417. Select this option if your external toolchain uses the NPTL
  418. (Native Posix Thread Library) implementation of Posix
  419. threads. If you don't know, leave the default value,
  420. Buildroot will tell you if it's correct or not.
  421. endif # BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
  422. endif # BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
  423. config BR2_TOOLCHAIN_EXTERNAL_HAS_SSP
  424. bool "Toolchain has SSP support?"
  425. default y if BR2_TOOLCHAIN_EXTERNAL_GLIBC
  426. default y if BR2_TOOLCHAIN_EXTERNAL_MUSL
  427. select BR2_TOOLCHAIN_HAS_SSP
  428. help
  429. Select this option if your external toolchain has Stack
  430. Smashing Protection support enabled. If you don't know,
  431. leave the default value, Buildroot will tell you if it's
  432. correct or not.
  433. config BR2_TOOLCHAIN_EXTERNAL_HAS_SSP_STRONG
  434. bool "Toolchain has SSP strong support?"
  435. default y if BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 && BR2_TOOLCHAIN_EXTERNAL_GLIBC
  436. default y if BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 && BR2_TOOLCHAIN_EXTERNAL_MUSL
  437. depends on BR2_TOOLCHAIN_EXTERNAL_HAS_SSP
  438. select BR2_TOOLCHAIN_HAS_SSP_STRONG
  439. help
  440. Select this option if your external toolchain has strong
  441. Stack Smashing Protection support enabled. If you don't
  442. know, leave the default value, Buildroot will tell you if
  443. it's correct or not.
  444. config BR2_TOOLCHAIN_EXTERNAL_INET_RPC
  445. bool "Toolchain has RPC support?"
  446. default y if BR2_TOOLCHAIN_EXTERNAL_GLIBC
  447. depends on !BR2_TOOLCHAIN_EXTERNAL_MUSL
  448. select BR2_TOOLCHAIN_HAS_NATIVE_RPC
  449. help
  450. Select this option if your external toolchain supports
  451. RPC. If you don't know, leave the default value, Buildroot
  452. will tell you if it's correct or not.
  453. config BR2_TOOLCHAIN_EXTERNAL_CXX
  454. bool "Toolchain has C++ support?"
  455. select BR2_INSTALL_LIBSTDCPP
  456. help
  457. Select this option if your external toolchain has C++
  458. support. If you don't know, leave the default value,
  459. Buildroot will tell you if it's correct or not.
  460. config BR2_TOOLCHAIN_EXTERNAL_DLANG
  461. bool "Toolchain has D support?"
  462. select BR2_TOOLCHAIN_HAS_DLANG
  463. help
  464. Select this option if your external toolchain has D
  465. support.
  466. config BR2_TOOLCHAIN_EXTERNAL_FORTRAN
  467. bool "Toolchain has Fortran support?"
  468. select BR2_TOOLCHAIN_HAS_FORTRAN
  469. help
  470. Select this option if your external toolchain has Fortran
  471. support. If you don't know, leave the default value,
  472. Buildroot will tell you if it's correct or not.
  473. config BR2_TOOLCHAIN_EXTERNAL_OPENMP
  474. bool "Toolchain has OpenMP support?"
  475. select BR2_TOOLCHAIN_HAS_OPENMP
  476. help
  477. Select this option if your external toolchain has OpenMP
  478. support. If you don't know, leave the default value,
  479. Buildroot will tell you if it's correct or not.
  480. endif