Config.in.host 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305
  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_0
  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. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4
  26. config BR2_KERNEL_HEADERS_4_9
  27. bool "Linux 4.9.x kernel headers"
  28. depends on !BR2_riscv
  29. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9
  30. config BR2_KERNEL_HEADERS_4_14
  31. bool "Linux 4.14.x kernel headers"
  32. depends on !BR2_riscv
  33. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14
  34. config BR2_KERNEL_HEADERS_4_19
  35. bool "Linux 4.19.x kernel headers"
  36. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_19
  37. config BR2_KERNEL_HEADERS_4_20
  38. bool "Linux 4.20.x kernel headers"
  39. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_20
  40. config BR2_KERNEL_HEADERS_5_0
  41. bool "Linux 5.0.x kernel headers"
  42. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0
  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. config BR2_DEFAULT_KERNEL_VERSION
  68. string "linux version"
  69. depends on BR2_KERNEL_HEADERS_VERSION
  70. help
  71. Specify the version you want to use.
  72. E.G.: 3.6.10
  73. config BR2_KERNEL_HEADERS_CUSTOM_TARBALL_LOCATION
  74. string "URL of custom kernel tarball"
  75. depends on BR2_KERNEL_HEADERS_CUSTOM_TARBALL
  76. if BR2_KERNEL_HEADERS_CUSTOM_GIT
  77. config BR2_KERNEL_HEADERS_CUSTOM_REPO_URL
  78. string "URL of custom repository"
  79. config BR2_KERNEL_HEADERS_CUSTOM_REPO_VERSION
  80. string "Custom repository version"
  81. help
  82. Revision to use in the typical format used by
  83. Git/Mercurial/Subversion E.G. a sha id, a tag, branch, ..
  84. endif
  85. choice
  86. bool "Custom kernel headers series"
  87. depends on BR2_KERNEL_HEADERS_VERSION || BR2_KERNEL_HEADERS_AS_KERNEL || \
  88. BR2_KERNEL_HEADERS_CUSTOM_TARBALL || BR2_KERNEL_HEADERS_CUSTOM_GIT
  89. help
  90. Specify the kernel headers series you manually selected,
  91. above.
  92. This is used to hide/show some packages that have strict
  93. requirements on the version of kernel headers.
  94. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_0
  95. bool "5.0.x"
  96. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0
  97. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_20
  98. bool "4.20.x"
  99. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_20
  100. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19
  101. bool "4.19.x"
  102. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_19
  103. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_18
  104. bool "4.18.x"
  105. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_18
  106. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_17
  107. bool "4.17.x"
  108. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_17
  109. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_16
  110. bool "4.16.x"
  111. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_16
  112. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_15
  113. bool "4.15.x"
  114. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_15
  115. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_14
  116. bool "4.14.x"
  117. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14
  118. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_13
  119. bool "4.13.x"
  120. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_13
  121. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_12
  122. bool "4.12.x"
  123. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12
  124. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_11
  125. bool "4.11.x"
  126. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11
  127. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_10
  128. bool "4.10.x"
  129. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_10
  130. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9
  131. bool "4.9.x"
  132. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9
  133. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_8
  134. bool "4.8.x"
  135. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8
  136. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_7
  137. bool "4.7.x"
  138. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7
  139. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_6
  140. bool "4.6.x"
  141. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6
  142. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_5
  143. bool "4.5.x"
  144. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5
  145. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4
  146. bool "4.4.x"
  147. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4
  148. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_3
  149. bool "4.3.x"
  150. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3
  151. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_2
  152. bool "4.2.x"
  153. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
  154. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_1
  155. bool "4.1.x"
  156. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1
  157. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_0
  158. bool "4.0.x"
  159. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
  160. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_19
  161. bool "3.19.x"
  162. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19
  163. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_18
  164. bool "3.18.x"
  165. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
  166. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_17
  167. bool "3.17.x"
  168. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
  169. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_16
  170. bool "3.16.x"
  171. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16
  172. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_15
  173. bool "3.15.x"
  174. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
  175. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_14
  176. bool "3.14.x"
  177. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
  178. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_13
  179. bool "3.13.x"
  180. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
  181. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_12
  182. bool "3.12.x"
  183. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
  184. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_11
  185. bool "3.11.x"
  186. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
  187. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_10
  188. bool "3.10.x"
  189. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
  190. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_9
  191. bool "3.9.x"
  192. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
  193. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_8
  194. bool "3.8.x"
  195. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
  196. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_7
  197. bool "3.7.x"
  198. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
  199. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_6
  200. bool "3.6.x"
  201. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6
  202. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_5
  203. bool "3.5.x"
  204. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
  205. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_4
  206. bool "3.4.x"
  207. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
  208. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_3
  209. bool "3.3.x"
  210. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
  211. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_2
  212. bool "3.2.x"
  213. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
  214. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_1
  215. bool "3.1.x"
  216. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
  217. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_0
  218. bool "3.0.x"
  219. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
  220. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_REALLY_OLD
  221. bool "2.6.x"
  222. endchoice
  223. config BR2_DEFAULT_KERNEL_HEADERS
  224. string
  225. default "4.4.178" if BR2_KERNEL_HEADERS_4_4
  226. default "4.9.168" if BR2_KERNEL_HEADERS_4_9
  227. default "4.14.111" if BR2_KERNEL_HEADERS_4_14
  228. default "4.19.34" if BR2_KERNEL_HEADERS_4_19
  229. default "4.20.17" if BR2_KERNEL_HEADERS_4_20
  230. default "5.0.7" if BR2_KERNEL_HEADERS_5_0
  231. default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION
  232. default "custom" if BR2_KERNEL_HEADERS_CUSTOM_TARBALL
  233. default BR2_KERNEL_HEADERS_CUSTOM_REPO_VERSION \
  234. if BR2_KERNEL_HEADERS_CUSTOM_GIT