Config.in.host 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261
  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_4_15
  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_3_2
  23. bool "Linux 3.2.x kernel headers"
  24. depends on !BR2_aarch64 && !BR2_arc && !BR2_nios2
  25. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
  26. config BR2_KERNEL_HEADERS_4_1
  27. bool "Linux 4.1.x kernel headers"
  28. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1
  29. config BR2_KERNEL_HEADERS_4_4
  30. bool "Linux 4.4.x kernel headers"
  31. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4
  32. config BR2_KERNEL_HEADERS_4_9
  33. bool "Linux 4.9.x kernel headers"
  34. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9
  35. config BR2_KERNEL_HEADERS_4_10
  36. bool "Linux 4.10.x kernel headers"
  37. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_10
  38. config BR2_KERNEL_HEADERS_4_11
  39. bool "Linux 4.11.x kernel headers"
  40. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11
  41. config BR2_KERNEL_HEADERS_4_12
  42. bool "Linux 4.12.x kernel headers"
  43. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12
  44. config BR2_KERNEL_HEADERS_4_13
  45. bool "Linux 4.13.x kernel headers"
  46. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_13
  47. config BR2_KERNEL_HEADERS_4_14
  48. bool "Linux 4.14.x kernel headers"
  49. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14
  50. config BR2_KERNEL_HEADERS_4_15
  51. bool "Linux 4.15.x kernel headers"
  52. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_15
  53. config BR2_KERNEL_HEADERS_VERSION
  54. bool "Manually specified Linux version"
  55. help
  56. This option allows you to use a specific official version from
  57. kernel.org, like 2.6.x, 2.6.x.y, 3.x.y, ...
  58. Note: you cannot use this option to select a _longterm_ 2.6
  59. kernel, because these kernels are not located at the standard
  60. URL at kernel.org. Instead, select "Custom tarball" and
  61. specify the right URL directly.
  62. endchoice
  63. config BR2_DEFAULT_KERNEL_VERSION
  64. string "linux version"
  65. depends on BR2_KERNEL_HEADERS_VERSION
  66. help
  67. Specify the version you want to use.
  68. E.G.: 3.6.10
  69. choice
  70. bool "Custom kernel headers series"
  71. depends on BR2_KERNEL_HEADERS_VERSION || BR2_KERNEL_HEADERS_AS_KERNEL
  72. help
  73. Specify the kernel headers series you manually selected,
  74. above.
  75. This is used to hide/show some packages that have strict
  76. requirements on the version of kernel headers.
  77. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_15
  78. bool "4.15.x"
  79. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_15
  80. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_14
  81. bool "4.14.x"
  82. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14
  83. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_13
  84. bool "4.13.x"
  85. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_13
  86. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_12
  87. bool "4.12.x"
  88. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12
  89. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_11
  90. bool "4.11.x"
  91. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11
  92. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_10
  93. bool "4.10.x"
  94. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_10
  95. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9
  96. bool "4.9.x"
  97. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9
  98. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_8
  99. bool "4.8.x"
  100. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8
  101. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_7
  102. bool "4.7.x"
  103. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7
  104. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_6
  105. bool "4.6.x"
  106. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6
  107. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_5
  108. bool "4.5.x"
  109. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5
  110. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4
  111. bool "4.4.x"
  112. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4
  113. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_3
  114. bool "4.3.x"
  115. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3
  116. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_2
  117. bool "4.2.x"
  118. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
  119. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_1
  120. bool "4.1.x"
  121. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1
  122. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_0
  123. bool "4.0.x"
  124. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
  125. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_19
  126. bool "3.19.x"
  127. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19
  128. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_18
  129. bool "3.18.x"
  130. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
  131. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_17
  132. bool "3.17.x"
  133. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
  134. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_16
  135. bool "3.16.x"
  136. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16
  137. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_15
  138. bool "3.15.x"
  139. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
  140. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_14
  141. bool "3.14.x"
  142. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
  143. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_13
  144. bool "3.13.x"
  145. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
  146. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_12
  147. bool "3.12.x"
  148. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
  149. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_11
  150. bool "3.11.x"
  151. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
  152. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_10
  153. bool "3.10.x"
  154. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
  155. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_9
  156. bool "3.9.x"
  157. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
  158. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_8
  159. bool "3.8.x"
  160. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
  161. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_7
  162. bool "3.7.x"
  163. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
  164. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_6
  165. bool "3.6.x"
  166. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6
  167. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_5
  168. bool "3.5.x"
  169. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
  170. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_4
  171. bool "3.4.x"
  172. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
  173. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_3
  174. bool "3.3.x"
  175. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
  176. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_2
  177. bool "3.2.x"
  178. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
  179. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_1
  180. bool "3.1.x"
  181. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
  182. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_0
  183. bool "3.0.x"
  184. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
  185. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_REALLY_OLD
  186. bool "2.6.x"
  187. endchoice
  188. config BR2_DEFAULT_KERNEL_HEADERS
  189. string
  190. default "3.2.102" if BR2_KERNEL_HEADERS_3_2
  191. default "4.1.52" if BR2_KERNEL_HEADERS_4_1
  192. default "4.4.177" if BR2_KERNEL_HEADERS_4_4
  193. default "4.9.166" if BR2_KERNEL_HEADERS_4_9
  194. default "4.10.17" if BR2_KERNEL_HEADERS_4_10
  195. default "4.11.12" if BR2_KERNEL_HEADERS_4_11
  196. default "4.12.14" if BR2_KERNEL_HEADERS_4_12
  197. default "4.13.16" if BR2_KERNEL_HEADERS_4_13
  198. default "4.14.109" if BR2_KERNEL_HEADERS_4_14
  199. default "4.15.18" if BR2_KERNEL_HEADERS_4_15
  200. default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION