Config.in.host 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403
  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_0
  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_9
  22. bool "Linux 4.9.x kernel headers"
  23. depends on !BR2_riscv
  24. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9
  25. config BR2_KERNEL_HEADERS_4_14
  26. bool "Linux 4.14.x kernel headers"
  27. depends on !BR2_riscv
  28. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14
  29. config BR2_KERNEL_HEADERS_4_19
  30. bool "Linux 4.19.x kernel headers"
  31. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_19
  32. config BR2_KERNEL_HEADERS_5_4
  33. bool "Linux 5.4.x kernel headers"
  34. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4
  35. config BR2_KERNEL_HEADERS_5_10
  36. bool "Linux 5.10.x kernel headers"
  37. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_10
  38. config BR2_KERNEL_HEADERS_5_15
  39. bool "Linux 5.15.x kernel headers"
  40. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_15
  41. config BR2_KERNEL_HEADERS_5_19
  42. bool "Linux 5.19.x kernel headers"
  43. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_19
  44. config BR2_KERNEL_HEADERS_6_0
  45. bool "Linux 6.0.x kernel headers"
  46. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_0
  47. select BR2_KERNEL_HEADERS_LATEST
  48. config BR2_KERNEL_HEADERS_VERSION
  49. bool "Manually specified Linux version"
  50. help
  51. This option allows you to use a specific official version from
  52. kernel.org, like 2.6.x, 2.6.x.y, 3.x.y, ...
  53. Note: you cannot use this option to select a _longterm_ 2.6
  54. kernel, because these kernels are not located at the standard
  55. URL at kernel.org. Instead, select "Custom tarball" and
  56. specify the right URL directly.
  57. config BR2_KERNEL_HEADERS_CUSTOM_TARBALL
  58. bool "Custom tarball"
  59. help
  60. This option allows you to specify a URL pointing to a kernel
  61. source tarball. This URL can use any protocol recognized by
  62. Buildroot, like http://, ftp://, file:// or scp://.
  63. When pointing to a local tarball using file://, you may want
  64. to use a make variable like $(TOPDIR) to reference the root of
  65. the Buildroot tree.
  66. config BR2_KERNEL_HEADERS_CUSTOM_GIT
  67. bool "Custom Git repository"
  68. help
  69. This option allows Buildroot to get the Linux kernel source
  70. code from a Git repository.
  71. endchoice
  72. # Select this for the latest kernel headers version (for license hashes)
  73. config BR2_KERNEL_HEADERS_LATEST
  74. bool
  75. config BR2_DEFAULT_KERNEL_VERSION
  76. string "linux version"
  77. depends on BR2_KERNEL_HEADERS_VERSION
  78. help
  79. Specify the version you want to use.
  80. E.G.: 3.6.10
  81. config BR2_KERNEL_HEADERS_CUSTOM_TARBALL_LOCATION
  82. string "URL of custom kernel tarball"
  83. depends on BR2_KERNEL_HEADERS_CUSTOM_TARBALL
  84. if BR2_KERNEL_HEADERS_CUSTOM_GIT
  85. config BR2_KERNEL_HEADERS_CUSTOM_REPO_URL
  86. string "URL of custom repository"
  87. config BR2_KERNEL_HEADERS_CUSTOM_REPO_VERSION
  88. string "Custom repository version"
  89. help
  90. Revision to use in the typical format used by
  91. Git/Mercurial/Subversion E.G. a sha id, a tag, branch, ..
  92. endif
  93. choice
  94. bool "Custom kernel headers series"
  95. depends on !BR2_LINUX_KERNEL_LATEST_VERSION || !BR2_KERNEL_HEADERS_AS_KERNEL
  96. depends on !BR2_LINUX_KERNEL_LATEST_CIP_VERSION || !BR2_KERNEL_HEADERS_AS_KERNEL
  97. depends on !BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION || !BR2_KERNEL_HEADERS_AS_KERNEL
  98. depends on BR2_KERNEL_HEADERS_VERSION || BR2_KERNEL_HEADERS_AS_KERNEL || \
  99. BR2_KERNEL_HEADERS_CUSTOM_TARBALL || BR2_KERNEL_HEADERS_CUSTOM_GIT
  100. help
  101. Specify the kernel headers series you manually selected,
  102. above.
  103. This is used to hide/show some packages that have strict
  104. requirements on the version of kernel headers.
  105. If your kernel headers are more recent than the latest version
  106. in the choice, then select the latest version.
  107. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_0
  108. bool "6.0.x or later"
  109. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_0
  110. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_19
  111. bool "5.19.x"
  112. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_19
  113. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_18
  114. bool "5.18.x"
  115. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_18
  116. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_17
  117. bool "5.17.x"
  118. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_17
  119. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_16
  120. bool "5.16.x"
  121. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_16
  122. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15
  123. bool "5.15.x"
  124. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_15
  125. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_14
  126. bool "5.14.x"
  127. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_14
  128. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_13
  129. bool "5.13.x"
  130. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_13
  131. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_12
  132. bool "5.12.x"
  133. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_12
  134. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_11
  135. bool "5.11.x"
  136. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_11
  137. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10
  138. bool "5.10.x"
  139. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_10
  140. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_9
  141. bool "5.9.x"
  142. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_9
  143. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_8
  144. bool "5.8.x"
  145. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_8
  146. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_7
  147. bool "5.7.x"
  148. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_7
  149. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_6
  150. bool "5.6.x"
  151. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_6
  152. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_5
  153. bool "5.5.x"
  154. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_5
  155. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_4
  156. bool "5.4.x"
  157. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4
  158. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_3
  159. bool "5.3.x"
  160. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_3
  161. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_2
  162. bool "5.2.x"
  163. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_2
  164. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_1
  165. bool "5.1.x"
  166. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1
  167. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_0
  168. bool "5.0.x"
  169. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0
  170. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_20
  171. bool "4.20.x"
  172. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_20
  173. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19
  174. bool "4.19.x"
  175. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_19
  176. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_18
  177. bool "4.18.x"
  178. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_18
  179. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_17
  180. bool "4.17.x"
  181. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_17
  182. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_16
  183. bool "4.16.x"
  184. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_16
  185. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_15
  186. bool "4.15.x"
  187. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_15
  188. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_14
  189. bool "4.14.x"
  190. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14
  191. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_13
  192. bool "4.13.x"
  193. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_13
  194. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_12
  195. bool "4.12.x"
  196. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12
  197. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_11
  198. bool "4.11.x"
  199. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11
  200. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_10
  201. bool "4.10.x"
  202. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_10
  203. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9
  204. bool "4.9.x"
  205. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9
  206. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_8
  207. bool "4.8.x"
  208. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8
  209. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_7
  210. bool "4.7.x"
  211. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7
  212. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_6
  213. bool "4.6.x"
  214. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6
  215. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_5
  216. bool "4.5.x"
  217. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5
  218. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4
  219. bool "4.4.x"
  220. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4
  221. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_3
  222. bool "4.3.x"
  223. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3
  224. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_2
  225. bool "4.2.x"
  226. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
  227. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_1
  228. bool "4.1.x"
  229. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1
  230. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_0
  231. bool "4.0.x"
  232. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
  233. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_19
  234. bool "3.19.x"
  235. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19
  236. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_18
  237. bool "3.18.x"
  238. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
  239. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_17
  240. bool "3.17.x"
  241. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
  242. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_16
  243. bool "3.16.x"
  244. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16
  245. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_15
  246. bool "3.15.x"
  247. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
  248. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_14
  249. bool "3.14.x"
  250. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
  251. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_13
  252. bool "3.13.x"
  253. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
  254. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_12
  255. bool "3.12.x"
  256. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
  257. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_11
  258. bool "3.11.x"
  259. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
  260. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_10
  261. bool "3.10.x"
  262. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
  263. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_9
  264. bool "3.9.x"
  265. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
  266. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_8
  267. bool "3.8.x"
  268. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
  269. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_7
  270. bool "3.7.x"
  271. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
  272. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_6
  273. bool "3.6.x"
  274. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6
  275. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_5
  276. bool "3.5.x"
  277. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
  278. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_4
  279. bool "3.4.x"
  280. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
  281. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_3
  282. bool "3.3.x"
  283. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
  284. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_2
  285. bool "3.2.x"
  286. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
  287. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_1
  288. bool "3.1.x"
  289. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
  290. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_0
  291. bool "3.0.x"
  292. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
  293. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_REALLY_OLD
  294. bool "2.6.x"
  295. endchoice
  296. config BR2_DEFAULT_KERNEL_HEADERS
  297. string
  298. default "4.9.337" if BR2_KERNEL_HEADERS_4_9
  299. default "4.14.307" if BR2_KERNEL_HEADERS_4_14
  300. default "4.19.274" if BR2_KERNEL_HEADERS_4_19
  301. default "5.4.233" if BR2_KERNEL_HEADERS_5_4
  302. default "5.10.170" if BR2_KERNEL_HEADERS_5_10
  303. default "5.15.96" if BR2_KERNEL_HEADERS_5_15
  304. default "5.19.17" if BR2_KERNEL_HEADERS_5_19
  305. default "6.0.19" if BR2_KERNEL_HEADERS_6_0
  306. default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION
  307. default "custom" if BR2_KERNEL_HEADERS_CUSTOM_TARBALL
  308. default BR2_KERNEL_HEADERS_CUSTOM_REPO_VERSION \
  309. if BR2_KERNEL_HEADERS_CUSTOM_GIT