Config.in.host 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457
  1. comment "Kernel Header Options"
  2. choice
  3. prompt "Kernel Headers"
  4. default BR2_KERNEL_HEADERS_AS_KERNEL if BR2_LINUX_KERNEL
  5. default BR2_KERNEL_HEADERS_6_15
  6. help
  7. Select the kernel version to get headers from.
  8. The kernel headers must be at least as old as the oldest
  9. kernel you intend to run on your target.
  10. If you use Buildroot to build a kernel, then you can use
  11. the sources from that kernel as source for the headers.
  12. If you choose a custom version of the kernel headers, or
  13. choose to use the same sources as the kernel, you'll have to
  14. select (below) the series of that kernel, so that Buildroot
  15. can show or hide packages that have strong requirements on the
  16. kernel headers.
  17. config BR2_KERNEL_HEADERS_AS_KERNEL
  18. bool "Same as kernel being built"
  19. depends on BR2_LINUX_KERNEL
  20. select BR2_KERNEL_HEADERS_LATEST if BR2_LINUX_KERNEL_LATEST_VERSION
  21. config BR2_KERNEL_HEADERS_5_4
  22. bool "Linux 5.4.x kernel headers"
  23. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4
  24. config BR2_KERNEL_HEADERS_5_10
  25. bool "Linux 5.10.x kernel headers"
  26. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_10
  27. config BR2_KERNEL_HEADERS_5_15
  28. bool "Linux 5.15.x kernel headers"
  29. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_15
  30. config BR2_KERNEL_HEADERS_6_1
  31. bool "Linux 6.1.x kernel headers"
  32. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_1
  33. config BR2_KERNEL_HEADERS_6_6
  34. bool "Linux 6.6.x kernel headers"
  35. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_6
  36. config BR2_KERNEL_HEADERS_6_12
  37. bool "Linux 6.12.x kernel headers"
  38. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_12
  39. config BR2_KERNEL_HEADERS_6_15
  40. bool "Linux 6.15.x kernel headers"
  41. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_15
  42. select BR2_KERNEL_HEADERS_LATEST
  43. config BR2_KERNEL_HEADERS_VERSION
  44. bool "Manually specified Linux version"
  45. help
  46. This option allows you to use a specific official version from
  47. kernel.org, like 2.6.x, 2.6.x.y, 3.x.y, ...
  48. Note: you cannot use this option to select a _longterm_ 2.6
  49. kernel, because these kernels are not located at the standard
  50. URL at kernel.org. Instead, select "Custom tarball" and
  51. specify the right URL directly.
  52. config BR2_KERNEL_HEADERS_CUSTOM_TARBALL
  53. bool "Custom tarball"
  54. help
  55. This option allows you to specify a URL pointing to a kernel
  56. source tarball. This URL can use any protocol recognized by
  57. Buildroot, like http://, ftp://, file:// or scp://.
  58. When pointing to a local tarball using file://, you may want
  59. to use a make variable like $(TOPDIR) to reference the root of
  60. the Buildroot tree.
  61. config BR2_KERNEL_HEADERS_CUSTOM_GIT
  62. bool "Custom Git repository"
  63. help
  64. This option allows Buildroot to get the Linux kernel source
  65. code from a Git repository.
  66. endchoice
  67. # Select this for the latest kernel headers version (for license hashes)
  68. config BR2_KERNEL_HEADERS_LATEST
  69. bool
  70. config BR2_DEFAULT_KERNEL_VERSION
  71. string "linux version"
  72. depends on BR2_KERNEL_HEADERS_VERSION
  73. help
  74. Specify the version you want to use.
  75. E.G.: 3.6.10
  76. config BR2_KERNEL_HEADERS_CUSTOM_TARBALL_LOCATION
  77. string "URL of custom kernel tarball"
  78. depends on BR2_KERNEL_HEADERS_CUSTOM_TARBALL
  79. if BR2_KERNEL_HEADERS_CUSTOM_GIT
  80. config BR2_KERNEL_HEADERS_CUSTOM_REPO_URL
  81. string "URL of custom repository"
  82. config BR2_KERNEL_HEADERS_CUSTOM_REPO_VERSION
  83. string "Custom repository version"
  84. help
  85. Revision to use in the typical format used by
  86. Git/Mercurial/Subversion E.G. a sha id, a tag, branch, ..
  87. endif
  88. choice
  89. bool "Custom kernel headers series"
  90. default BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_REALLY_OLD
  91. depends on !BR2_LINUX_KERNEL_LATEST_VERSION || !BR2_KERNEL_HEADERS_AS_KERNEL
  92. depends on !BR2_LINUX_KERNEL_LATEST_CIP_VERSION || !BR2_KERNEL_HEADERS_AS_KERNEL
  93. depends on !BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION || !BR2_KERNEL_HEADERS_AS_KERNEL
  94. depends on BR2_KERNEL_HEADERS_VERSION || BR2_KERNEL_HEADERS_AS_KERNEL || \
  95. BR2_KERNEL_HEADERS_CUSTOM_TARBALL || BR2_KERNEL_HEADERS_CUSTOM_GIT
  96. help
  97. Specify the kernel headers series you manually selected,
  98. above.
  99. This is used to hide/show some packages that have strict
  100. requirements on the version of kernel headers.
  101. If your kernel headers are more recent than the latest version
  102. in the choice, then select the latest version.
  103. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_15
  104. bool "6.15.x or later"
  105. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_15
  106. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_14
  107. bool "6.14.x"
  108. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_14
  109. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_13
  110. bool "6.13.x"
  111. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_13
  112. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_12
  113. bool "6.12.x"
  114. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_12
  115. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_11
  116. bool "6.11.x"
  117. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_11
  118. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_10
  119. bool "6.10.x"
  120. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_10
  121. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_9
  122. bool "6.9.x"
  123. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_9
  124. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_8
  125. bool "6.8.x"
  126. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_8
  127. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_7
  128. bool "6.7.x"
  129. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_7
  130. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6
  131. bool "6.6.x"
  132. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_6
  133. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_5
  134. bool "6.5.x"
  135. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_5
  136. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_4
  137. bool "6.4.x"
  138. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_4
  139. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_3
  140. bool "6.3.x"
  141. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_3
  142. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_2
  143. bool "6.2.x"
  144. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_2
  145. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1
  146. bool "6.1.x"
  147. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_1
  148. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_0
  149. bool "6.0.x"
  150. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_0
  151. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_19
  152. bool "5.19.x"
  153. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_19
  154. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_18
  155. bool "5.18.x"
  156. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_18
  157. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_17
  158. bool "5.17.x"
  159. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_17
  160. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_16
  161. bool "5.16.x"
  162. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_16
  163. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15
  164. bool "5.15.x"
  165. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_15
  166. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_14
  167. bool "5.14.x"
  168. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_14
  169. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_13
  170. bool "5.13.x"
  171. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_13
  172. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_12
  173. bool "5.12.x"
  174. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_12
  175. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_11
  176. bool "5.11.x"
  177. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_11
  178. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10
  179. bool "5.10.x"
  180. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_10
  181. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_9
  182. bool "5.9.x"
  183. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_9
  184. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_8
  185. bool "5.8.x"
  186. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_8
  187. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_7
  188. bool "5.7.x"
  189. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_7
  190. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_6
  191. bool "5.6.x"
  192. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_6
  193. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_5
  194. bool "5.5.x"
  195. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_5
  196. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_4
  197. bool "5.4.x"
  198. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4
  199. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_3
  200. bool "5.3.x"
  201. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_3
  202. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_2
  203. bool "5.2.x"
  204. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_2
  205. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_1
  206. bool "5.1.x"
  207. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1
  208. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_0
  209. bool "5.0.x"
  210. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0
  211. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_20
  212. bool "4.20.x"
  213. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_20
  214. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19
  215. bool "4.19.x"
  216. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_19
  217. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_18
  218. bool "4.18.x"
  219. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_18
  220. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_17
  221. bool "4.17.x"
  222. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_17
  223. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_16
  224. bool "4.16.x"
  225. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_16
  226. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_15
  227. bool "4.15.x"
  228. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_15
  229. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_14
  230. bool "4.14.x"
  231. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14
  232. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_13
  233. bool "4.13.x"
  234. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_13
  235. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_12
  236. bool "4.12.x"
  237. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12
  238. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_11
  239. bool "4.11.x"
  240. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11
  241. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_10
  242. bool "4.10.x"
  243. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_10
  244. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9
  245. bool "4.9.x"
  246. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9
  247. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_8
  248. bool "4.8.x"
  249. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8
  250. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_7
  251. bool "4.7.x"
  252. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7
  253. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_6
  254. bool "4.6.x"
  255. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6
  256. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_5
  257. bool "4.5.x"
  258. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5
  259. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4
  260. bool "4.4.x"
  261. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4
  262. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_3
  263. bool "4.3.x"
  264. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3
  265. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_2
  266. bool "4.2.x"
  267. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
  268. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_1
  269. bool "4.1.x"
  270. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1
  271. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_0
  272. bool "4.0.x"
  273. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
  274. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_19
  275. bool "3.19.x"
  276. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19
  277. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_18
  278. bool "3.18.x"
  279. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
  280. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_17
  281. bool "3.17.x"
  282. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
  283. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_16
  284. bool "3.16.x"
  285. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16
  286. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_15
  287. bool "3.15.x"
  288. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
  289. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_14
  290. bool "3.14.x"
  291. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
  292. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_13
  293. bool "3.13.x"
  294. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
  295. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_12
  296. bool "3.12.x"
  297. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
  298. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_11
  299. bool "3.11.x"
  300. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
  301. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_10
  302. bool "3.10.x"
  303. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
  304. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_9
  305. bool "3.9.x"
  306. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
  307. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_8
  308. bool "3.8.x"
  309. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
  310. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_7
  311. bool "3.7.x"
  312. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
  313. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_6
  314. bool "3.6.x"
  315. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6
  316. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_5
  317. bool "3.5.x"
  318. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
  319. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_4
  320. bool "3.4.x"
  321. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
  322. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_3
  323. bool "3.3.x"
  324. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
  325. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_2
  326. bool "3.2.x"
  327. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
  328. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_1
  329. bool "3.1.x"
  330. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
  331. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_0
  332. bool "3.0.x"
  333. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
  334. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_REALLY_OLD
  335. bool "2.6.x"
  336. endchoice
  337. config BR2_DEFAULT_KERNEL_HEADERS
  338. string
  339. default "5.4.294" if BR2_KERNEL_HEADERS_5_4
  340. default "5.10.238" if BR2_KERNEL_HEADERS_5_10
  341. default "5.15.185" if BR2_KERNEL_HEADERS_5_15
  342. default "6.1.141" if BR2_KERNEL_HEADERS_6_1
  343. default "6.6.94" if BR2_KERNEL_HEADERS_6_6
  344. default "6.12.34" if BR2_KERNEL_HEADERS_6_12
  345. default "6.15.3" if BR2_KERNEL_HEADERS_6_15
  346. default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION
  347. default "custom" if BR2_KERNEL_HEADERS_CUSTOM_TARBALL
  348. default BR2_KERNEL_HEADERS_CUSTOM_REPO_VERSION \
  349. if BR2_KERNEL_HEADERS_CUSTOM_GIT