Config.in.host 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436
  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_10
  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_4_19
  22. bool "Linux 4.19.x kernel headers"
  23. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_19
  24. config BR2_KERNEL_HEADERS_5_4
  25. bool "Linux 5.4.x kernel headers"
  26. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4
  27. config BR2_KERNEL_HEADERS_5_10
  28. bool "Linux 5.10.x kernel headers"
  29. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_10
  30. config BR2_KERNEL_HEADERS_5_15
  31. bool "Linux 5.15.x kernel headers"
  32. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_15
  33. config BR2_KERNEL_HEADERS_6_1
  34. bool "Linux 6.1.x kernel headers"
  35. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_1
  36. config BR2_KERNEL_HEADERS_6_6
  37. bool "Linux 6.6.x kernel headers"
  38. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_6
  39. config BR2_KERNEL_HEADERS_6_10
  40. bool "Linux 6.10.x kernel headers"
  41. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_10
  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. depends on !BR2_LINUX_KERNEL_LATEST_VERSION || !BR2_KERNEL_HEADERS_AS_KERNEL
  91. depends on !BR2_LINUX_KERNEL_LATEST_CIP_VERSION || !BR2_KERNEL_HEADERS_AS_KERNEL
  92. depends on !BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION || !BR2_KERNEL_HEADERS_AS_KERNEL
  93. depends on BR2_KERNEL_HEADERS_VERSION || BR2_KERNEL_HEADERS_AS_KERNEL || \
  94. BR2_KERNEL_HEADERS_CUSTOM_TARBALL || BR2_KERNEL_HEADERS_CUSTOM_GIT
  95. help
  96. Specify the kernel headers series you manually selected,
  97. above.
  98. This is used to hide/show some packages that have strict
  99. requirements on the version of kernel headers.
  100. If your kernel headers are more recent than the latest version
  101. in the choice, then select the latest version.
  102. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_10
  103. bool "6.10.x or later"
  104. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_10
  105. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_9
  106. bool "6.9.x"
  107. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_9
  108. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_8
  109. bool "6.8.x"
  110. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_8
  111. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_7
  112. bool "6.7.x"
  113. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_7
  114. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6
  115. bool "6.6.x"
  116. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_6
  117. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_5
  118. bool "6.5.x"
  119. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_5
  120. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_4
  121. bool "6.4.x"
  122. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_4
  123. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_3
  124. bool "6.3.x"
  125. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_3
  126. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_2
  127. bool "6.2.x"
  128. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_2
  129. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1
  130. bool "6.1.x"
  131. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_1
  132. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_0
  133. bool "6.0.x"
  134. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_0
  135. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_19
  136. bool "5.19.x"
  137. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_19
  138. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_18
  139. bool "5.18.x"
  140. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_18
  141. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_17
  142. bool "5.17.x"
  143. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_17
  144. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_16
  145. bool "5.16.x"
  146. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_16
  147. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15
  148. bool "5.15.x"
  149. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_15
  150. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_14
  151. bool "5.14.x"
  152. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_14
  153. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_13
  154. bool "5.13.x"
  155. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_13
  156. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_12
  157. bool "5.12.x"
  158. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_12
  159. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_11
  160. bool "5.11.x"
  161. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_11
  162. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10
  163. bool "5.10.x"
  164. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_10
  165. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_9
  166. bool "5.9.x"
  167. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_9
  168. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_8
  169. bool "5.8.x"
  170. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_8
  171. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_7
  172. bool "5.7.x"
  173. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_7
  174. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_6
  175. bool "5.6.x"
  176. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_6
  177. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_5
  178. bool "5.5.x"
  179. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_5
  180. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_4
  181. bool "5.4.x"
  182. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4
  183. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_3
  184. bool "5.3.x"
  185. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_3
  186. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_2
  187. bool "5.2.x"
  188. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_2
  189. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_1
  190. bool "5.1.x"
  191. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1
  192. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_0
  193. bool "5.0.x"
  194. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0
  195. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_20
  196. bool "4.20.x"
  197. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_20
  198. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19
  199. bool "4.19.x"
  200. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_19
  201. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_18
  202. bool "4.18.x"
  203. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_18
  204. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_17
  205. bool "4.17.x"
  206. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_17
  207. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_16
  208. bool "4.16.x"
  209. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_16
  210. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_15
  211. bool "4.15.x"
  212. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_15
  213. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_14
  214. bool "4.14.x"
  215. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14
  216. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_13
  217. bool "4.13.x"
  218. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_13
  219. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_12
  220. bool "4.12.x"
  221. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12
  222. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_11
  223. bool "4.11.x"
  224. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11
  225. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_10
  226. bool "4.10.x"
  227. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_10
  228. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9
  229. bool "4.9.x"
  230. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9
  231. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_8
  232. bool "4.8.x"
  233. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8
  234. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_7
  235. bool "4.7.x"
  236. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7
  237. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_6
  238. bool "4.6.x"
  239. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6
  240. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_5
  241. bool "4.5.x"
  242. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5
  243. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4
  244. bool "4.4.x"
  245. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4
  246. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_3
  247. bool "4.3.x"
  248. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3
  249. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_2
  250. bool "4.2.x"
  251. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
  252. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_1
  253. bool "4.1.x"
  254. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1
  255. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_0
  256. bool "4.0.x"
  257. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
  258. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_19
  259. bool "3.19.x"
  260. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19
  261. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_18
  262. bool "3.18.x"
  263. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
  264. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_17
  265. bool "3.17.x"
  266. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
  267. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_16
  268. bool "3.16.x"
  269. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16
  270. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_15
  271. bool "3.15.x"
  272. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
  273. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_14
  274. bool "3.14.x"
  275. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
  276. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_13
  277. bool "3.13.x"
  278. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
  279. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_12
  280. bool "3.12.x"
  281. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
  282. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_11
  283. bool "3.11.x"
  284. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
  285. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_10
  286. bool "3.10.x"
  287. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
  288. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_9
  289. bool "3.9.x"
  290. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
  291. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_8
  292. bool "3.8.x"
  293. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
  294. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_7
  295. bool "3.7.x"
  296. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
  297. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_6
  298. bool "3.6.x"
  299. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6
  300. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_5
  301. bool "3.5.x"
  302. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
  303. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_4
  304. bool "3.4.x"
  305. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
  306. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_3
  307. bool "3.3.x"
  308. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
  309. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_2
  310. bool "3.2.x"
  311. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
  312. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_1
  313. bool "3.1.x"
  314. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
  315. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_0
  316. bool "3.0.x"
  317. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
  318. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_REALLY_OLD
  319. bool "2.6.x"
  320. endchoice
  321. config BR2_DEFAULT_KERNEL_HEADERS
  322. string
  323. default "4.19.321" if BR2_KERNEL_HEADERS_4_19
  324. default "5.4.283" if BR2_KERNEL_HEADERS_5_4
  325. default "5.10.225" if BR2_KERNEL_HEADERS_5_10
  326. default "5.15.166" if BR2_KERNEL_HEADERS_5_15
  327. default "6.1.108" if BR2_KERNEL_HEADERS_6_1
  328. default "6.6.49" if BR2_KERNEL_HEADERS_6_6
  329. default "6.10.8" if BR2_KERNEL_HEADERS_6_10
  330. default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION
  331. default "custom" if BR2_KERNEL_HEADERS_CUSTOM_TARBALL
  332. default BR2_KERNEL_HEADERS_CUSTOM_REPO_VERSION \
  333. if BR2_KERNEL_HEADERS_CUSTOM_GIT