Config.in.options 18 KB

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