Config.in.host 8.4 KB

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