Config.in.host 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271
  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_17
  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_4_16
  54. bool "Linux 4.16.x kernel headers"
  55. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_16
  56. config BR2_KERNEL_HEADERS_4_17
  57. bool "Linux 4.17.x kernel headers"
  58. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_17
  59. config BR2_KERNEL_HEADERS_VERSION
  60. bool "Manually specified Linux version"
  61. endchoice
  62. config BR2_DEFAULT_KERNEL_VERSION
  63. string "linux version"
  64. depends on BR2_KERNEL_HEADERS_VERSION
  65. help
  66. Specify the version you want to use.
  67. E.G.: 3.6.10
  68. choice
  69. bool "Custom kernel headers series"
  70. depends on BR2_KERNEL_HEADERS_VERSION || BR2_KERNEL_HEADERS_AS_KERNEL
  71. help
  72. Specify the kernel headers series you manually selected,
  73. above.
  74. This is used to hide/show some packages that have strict
  75. requirements on the version of kernel headers.
  76. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_17
  77. bool "4.17.x"
  78. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_17
  79. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_16
  80. bool "4.16.x"
  81. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_16
  82. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_15
  83. bool "4.15.x"
  84. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_15
  85. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_14
  86. bool "4.14.x"
  87. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14
  88. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_13
  89. bool "4.13.x"
  90. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_13
  91. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_12
  92. bool "4.12.x"
  93. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12
  94. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_11
  95. bool "4.11.x"
  96. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11
  97. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_10
  98. bool "4.10.x"
  99. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_10
  100. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9
  101. bool "4.9.x"
  102. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9
  103. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_8
  104. bool "4.8.x"
  105. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8
  106. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_7
  107. bool "4.7.x"
  108. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7
  109. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_6
  110. bool "4.6.x"
  111. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6
  112. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_5
  113. bool "4.5.x"
  114. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5
  115. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4
  116. bool "4.4.x"
  117. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4
  118. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_3
  119. bool "4.3.x"
  120. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3
  121. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_2
  122. bool "4.2.x"
  123. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
  124. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_1
  125. bool "4.1.x"
  126. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1
  127. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_0
  128. bool "4.0.x"
  129. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
  130. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_19
  131. bool "3.19.x"
  132. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19
  133. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_18
  134. bool "3.18.x"
  135. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
  136. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_17
  137. bool "3.17.x"
  138. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
  139. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_16
  140. bool "3.16.x"
  141. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16
  142. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_15
  143. bool "3.15.x"
  144. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
  145. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_14
  146. bool "3.14.x"
  147. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
  148. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_13
  149. bool "3.13.x"
  150. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
  151. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_12
  152. bool "3.12.x"
  153. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
  154. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_11
  155. bool "3.11.x"
  156. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
  157. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_10
  158. bool "3.10.x"
  159. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
  160. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_9
  161. bool "3.9.x"
  162. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
  163. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_8
  164. bool "3.8.x"
  165. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
  166. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_7
  167. bool "3.7.x"
  168. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
  169. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_6
  170. bool "3.6.x"
  171. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6
  172. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_5
  173. bool "3.5.x"
  174. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
  175. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_4
  176. bool "3.4.x"
  177. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
  178. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_3
  179. bool "3.3.x"
  180. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
  181. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_2
  182. bool "3.2.x"
  183. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
  184. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_1
  185. bool "3.1.x"
  186. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
  187. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_0
  188. bool "3.0.x"
  189. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
  190. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_REALLY_OLD
  191. bool "2.6.x"
  192. endchoice
  193. config BR2_DEFAULT_KERNEL_HEADERS
  194. string
  195. default "3.2.102" if BR2_KERNEL_HEADERS_3_2
  196. default "4.1.52" if BR2_KERNEL_HEADERS_4_1
  197. default "4.4.139" if BR2_KERNEL_HEADERS_4_4
  198. default "4.9.111" if BR2_KERNEL_HEADERS_4_9
  199. default "4.10.17" if BR2_KERNEL_HEADERS_4_10
  200. default "4.11.12" if BR2_KERNEL_HEADERS_4_11
  201. default "4.12.14" if BR2_KERNEL_HEADERS_4_12
  202. default "4.13.16" if BR2_KERNEL_HEADERS_4_13
  203. default "4.14.54" if BR2_KERNEL_HEADERS_4_14
  204. default "4.15.18" if BR2_KERNEL_HEADERS_4_15
  205. default "4.16.17" if BR2_KERNEL_HEADERS_4_16
  206. default "4.17.5" if BR2_KERNEL_HEADERS_4_17
  207. default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION