Config.in.host 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326
  1. comment "Kernel Header Options"
  2. config BR2_PACKAGE_HOST_LINUX_HEADERS
  3. bool
  4. choice
  5. prompt "Kernel Headers"
  6. default BR2_KERNEL_HEADERS_AS_KERNEL if BR2_LINUX_KERNEL
  7. default BR2_KERNEL_HEADERS_5_3
  8. help
  9. Select the kernel version to get headers from.
  10. The kernel headers must be at least as old as the oldest
  11. kernel you intend to run on your target.
  12. If you use Buildroot to build a kernel, then you can use
  13. the sources from that kernel as source for the headers.
  14. If you choose a custom version of the kernel headers, or
  15. choose to use the same sources as the kernel, you'll have to
  16. select (below) the series of that kernel, so that Buildroot
  17. can show or hide packages that have strong requirements on the
  18. kernel headers.
  19. config BR2_KERNEL_HEADERS_AS_KERNEL
  20. bool "Same as kernel being built"
  21. depends on BR2_LINUX_KERNEL
  22. config BR2_KERNEL_HEADERS_4_4
  23. bool "Linux 4.4.x kernel headers"
  24. depends on !BR2_riscv
  25. depends on !BR2_csky
  26. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4
  27. config BR2_KERNEL_HEADERS_4_9
  28. bool "Linux 4.9.x kernel headers"
  29. depends on !BR2_riscv
  30. depends on !BR2_csky
  31. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9
  32. config BR2_KERNEL_HEADERS_4_14
  33. bool "Linux 4.14.x kernel headers"
  34. depends on !BR2_riscv
  35. depends on !BR2_csky
  36. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14
  37. config BR2_KERNEL_HEADERS_4_19
  38. bool "Linux 4.19.x kernel headers"
  39. depends on !BR2_csky
  40. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_19
  41. config BR2_KERNEL_HEADERS_5_1
  42. bool "Linux 5.1.x kernel headers"
  43. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1
  44. config BR2_KERNEL_HEADERS_5_2
  45. bool "Linux 5.2.x kernel headers"
  46. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_2
  47. config BR2_KERNEL_HEADERS_5_3
  48. bool "Linux 5.3.x kernel headers"
  49. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_3
  50. config BR2_KERNEL_HEADERS_VERSION
  51. bool "Manually specified Linux version"
  52. help
  53. This option allows you to use a specific official version from
  54. kernel.org, like 2.6.x, 2.6.x.y, 3.x.y, ...
  55. Note: you cannot use this option to select a _longterm_ 2.6
  56. kernel, because these kernels are not located at the standard
  57. URL at kernel.org. Instead, select "Custom tarball" and
  58. specify the right URL directly.
  59. config BR2_KERNEL_HEADERS_CUSTOM_TARBALL
  60. bool "Custom tarball"
  61. help
  62. This option allows you to specify a URL pointing to a kernel
  63. source tarball. This URL can use any protocol recognized by
  64. Buildroot, like http://, ftp://, file:// or scp://.
  65. When pointing to a local tarball using file://, you may want
  66. to use a make variable like $(TOPDIR) to reference the root of
  67. the Buildroot tree.
  68. config BR2_KERNEL_HEADERS_CUSTOM_GIT
  69. bool "Custom Git repository"
  70. help
  71. This option allows Buildroot to get the Linux kernel source
  72. code from a Git repository.
  73. endchoice
  74. config BR2_DEFAULT_KERNEL_VERSION
  75. string "linux version"
  76. depends on BR2_KERNEL_HEADERS_VERSION
  77. help
  78. Specify the version you want to use.
  79. E.G.: 3.6.10
  80. config BR2_KERNEL_HEADERS_CUSTOM_TARBALL_LOCATION
  81. string "URL of custom kernel tarball"
  82. depends on BR2_KERNEL_HEADERS_CUSTOM_TARBALL
  83. if BR2_KERNEL_HEADERS_CUSTOM_GIT
  84. config BR2_KERNEL_HEADERS_CUSTOM_REPO_URL
  85. string "URL of custom repository"
  86. config BR2_KERNEL_HEADERS_CUSTOM_REPO_VERSION
  87. string "Custom repository version"
  88. help
  89. Revision to use in the typical format used by
  90. Git/Mercurial/Subversion E.G. a sha id, a tag, branch, ..
  91. endif
  92. choice
  93. bool "Custom kernel headers series"
  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. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_3
  102. bool "5.3.x"
  103. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_3
  104. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_2
  105. bool "5.2.x"
  106. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_2
  107. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_1
  108. bool "5.1.x"
  109. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1
  110. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_0
  111. bool "5.0.x"
  112. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0
  113. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_20
  114. bool "4.20.x"
  115. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_20
  116. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19
  117. bool "4.19.x"
  118. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_19
  119. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_18
  120. bool "4.18.x"
  121. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_18
  122. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_17
  123. bool "4.17.x"
  124. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_17
  125. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_16
  126. bool "4.16.x"
  127. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_16
  128. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_15
  129. bool "4.15.x"
  130. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_15
  131. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_14
  132. bool "4.14.x"
  133. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14
  134. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_13
  135. bool "4.13.x"
  136. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_13
  137. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_12
  138. bool "4.12.x"
  139. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12
  140. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_11
  141. bool "4.11.x"
  142. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11
  143. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_10
  144. bool "4.10.x"
  145. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_10
  146. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9
  147. bool "4.9.x"
  148. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9
  149. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_8
  150. bool "4.8.x"
  151. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8
  152. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_7
  153. bool "4.7.x"
  154. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7
  155. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_6
  156. bool "4.6.x"
  157. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6
  158. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_5
  159. bool "4.5.x"
  160. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5
  161. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4
  162. bool "4.4.x"
  163. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4
  164. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_3
  165. bool "4.3.x"
  166. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3
  167. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_2
  168. bool "4.2.x"
  169. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
  170. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_1
  171. bool "4.1.x"
  172. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1
  173. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_0
  174. bool "4.0.x"
  175. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
  176. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_19
  177. bool "3.19.x"
  178. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19
  179. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_18
  180. bool "3.18.x"
  181. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
  182. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_17
  183. bool "3.17.x"
  184. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
  185. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_16
  186. bool "3.16.x"
  187. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16
  188. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_15
  189. bool "3.15.x"
  190. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
  191. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_14
  192. bool "3.14.x"
  193. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
  194. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_13
  195. bool "3.13.x"
  196. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
  197. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_12
  198. bool "3.12.x"
  199. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
  200. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_11
  201. bool "3.11.x"
  202. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
  203. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_10
  204. bool "3.10.x"
  205. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
  206. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_9
  207. bool "3.9.x"
  208. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
  209. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_8
  210. bool "3.8.x"
  211. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
  212. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_7
  213. bool "3.7.x"
  214. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
  215. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_6
  216. bool "3.6.x"
  217. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6
  218. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_5
  219. bool "3.5.x"
  220. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
  221. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_4
  222. bool "3.4.x"
  223. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
  224. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_3
  225. bool "3.3.x"
  226. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
  227. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_2
  228. bool "3.2.x"
  229. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
  230. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_1
  231. bool "3.1.x"
  232. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
  233. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_0
  234. bool "3.0.x"
  235. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
  236. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_REALLY_OLD
  237. bool "2.6.x"
  238. endchoice
  239. config BR2_DEFAULT_KERNEL_HEADERS
  240. string
  241. default "4.4.194" if BR2_KERNEL_HEADERS_4_4
  242. default "4.9.194" if BR2_KERNEL_HEADERS_4_9
  243. default "4.14.146" if BR2_KERNEL_HEADERS_4_14
  244. default "4.19.76" if BR2_KERNEL_HEADERS_4_19
  245. default "5.1.21" if BR2_KERNEL_HEADERS_5_1
  246. default "5.2.18" if BR2_KERNEL_HEADERS_5_2
  247. default "5.3.2" if BR2_KERNEL_HEADERS_5_3
  248. default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION
  249. default "custom" if BR2_KERNEL_HEADERS_CUSTOM_TARBALL
  250. default BR2_KERNEL_HEADERS_CUSTOM_REPO_VERSION \
  251. if BR2_KERNEL_HEADERS_CUSTOM_GIT