Config.in.host 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247
  1. config BR2_PACKAGE_HOST_LINUX_HEADERS
  2. bool
  3. comment "Kernel Header Options"
  4. choice
  5. prompt "Kernel Headers"
  6. default BR2_KERNEL_HEADERS_AS_KERNEL if BR2_LINUX_KERNEL
  7. default BR2_KERNEL_HEADERS_4_7
  8. help
  9. Select the kernel version to get headers from.
  10. The kernel headers must be at least as old as the oldest kernel
  11. 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 choose
  15. to use the same sources as the kernel, you'll have to select
  16. (below) the series of that kernel, so that Buildroot can show
  17. or hide packages that have strong requirements on the kernel
  18. 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_arc && !BR2_nios2
  25. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
  26. config BR2_KERNEL_HEADERS_3_4
  27. bool "Linux 3.4.x kernel headers"
  28. depends on !BR2_arc && !BR2_nios2
  29. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
  30. config BR2_KERNEL_HEADERS_3_10
  31. bool "Linux 3.10.x kernel headers"
  32. depends on !BR2_nios2
  33. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
  34. config BR2_KERNEL_HEADERS_3_12
  35. bool "Linux 3.12.x kernel headers"
  36. depends on !BR2_nios2
  37. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
  38. config BR2_KERNEL_HEADERS_3_14
  39. bool "Linux 3.14.x kernel headers"
  40. depends on !BR2_nios2
  41. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
  42. config BR2_KERNEL_HEADERS_3_18
  43. bool "Linux 3.18.x kernel headers"
  44. depends on !BR2_nios2
  45. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
  46. config BR2_KERNEL_HEADERS_4_1
  47. bool "Linux 4.1.x kernel headers"
  48. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1
  49. config BR2_KERNEL_HEADERS_4_2
  50. bool "Linux 4.2.x kernel headers"
  51. depends on BR2_DEPRECATED_SINCE_2016_02
  52. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
  53. config BR2_KERNEL_HEADERS_4_3
  54. bool "Linux 4.3.x kernel headers"
  55. depends on BR2_DEPRECATED_SINCE_2016_05
  56. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3
  57. config BR2_KERNEL_HEADERS_4_4
  58. bool "Linux 4.4.x kernel headers"
  59. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4
  60. config BR2_KERNEL_HEADERS_4_5
  61. bool "Linux 4.5.x kernel headers"
  62. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5
  63. config BR2_KERNEL_HEADERS_4_6
  64. bool "Linux 4.6.x kernel headers"
  65. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6
  66. config BR2_KERNEL_HEADERS_4_7
  67. bool "Linux 4.7.x kernel headers"
  68. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7
  69. config BR2_KERNEL_HEADERS_VERSION
  70. bool "Manually specified Linux version"
  71. endchoice
  72. config BR2_DEFAULT_KERNEL_VERSION
  73. string "linux version"
  74. depends on BR2_KERNEL_HEADERS_VERSION
  75. help
  76. Specify the version you want to use.
  77. E.G.: 3.6.10
  78. choice
  79. bool "Custom kernel headers series"
  80. depends on BR2_KERNEL_HEADERS_VERSION || BR2_KERNEL_HEADERS_AS_KERNEL
  81. help
  82. Specify the kernel headers series you manually selected, above.
  83. This is used to hide/show some packages that have strict
  84. requirements on the version of kernel headers.
  85. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_8
  86. bool "4.8.x"
  87. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8
  88. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_7
  89. bool "4.7.x"
  90. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7
  91. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_6
  92. bool "4.6.x"
  93. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6
  94. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_5
  95. bool "4.5.x"
  96. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5
  97. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4
  98. bool "4.4.x"
  99. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4
  100. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_3
  101. bool "4.3.x"
  102. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3
  103. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_2
  104. bool "4.2.x"
  105. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
  106. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_1
  107. bool "4.1.x"
  108. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1
  109. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_0
  110. bool "4.0.x"
  111. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
  112. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_19
  113. bool "3.19.x"
  114. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19
  115. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_18
  116. bool "3.18.x"
  117. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
  118. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_17
  119. bool "3.17.x"
  120. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
  121. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_16
  122. bool "3.16.x"
  123. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16
  124. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_15
  125. bool "3.15.x"
  126. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
  127. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_14
  128. bool "3.14.x"
  129. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
  130. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_13
  131. bool "3.13.x"
  132. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
  133. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_12
  134. bool "3.12.x"
  135. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
  136. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_11
  137. bool "3.11.x"
  138. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
  139. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_10
  140. bool "3.10.x"
  141. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
  142. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_9
  143. bool "3.9.x"
  144. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
  145. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_8
  146. bool "3.8.x"
  147. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
  148. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_7
  149. bool "3.7.x"
  150. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
  151. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_6
  152. bool "3.6.x"
  153. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6
  154. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_5
  155. bool "3.5.x"
  156. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
  157. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_4
  158. bool "3.4.x"
  159. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
  160. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_3
  161. bool "3.3.x"
  162. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
  163. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_2
  164. bool "3.2.x"
  165. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
  166. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_1
  167. bool "3.1.x"
  168. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
  169. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_0
  170. bool "3.0.x"
  171. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
  172. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_REALLY_OLD
  173. bool "2.6.x"
  174. endchoice
  175. config BR2_DEFAULT_KERNEL_HEADERS
  176. string
  177. default "3.2.81" if BR2_KERNEL_HEADERS_3_2
  178. default "3.4.112" if BR2_KERNEL_HEADERS_3_4
  179. default "3.10.103" if BR2_KERNEL_HEADERS_3_10
  180. default "3.12.63" if BR2_KERNEL_HEADERS_3_12
  181. default "3.14.77" if BR2_KERNEL_HEADERS_3_14
  182. default "3.18.41" if BR2_KERNEL_HEADERS_3_18
  183. default "3.19.8" if BR2_KERNEL_HEADERS_3_19
  184. default "4.0.9" if BR2_KERNEL_HEADERS_4_0
  185. default "4.1.32" if BR2_KERNEL_HEADERS_4_1
  186. default "4.2.8" if BR2_KERNEL_HEADERS_4_2
  187. default "4.3.6" if BR2_KERNEL_HEADERS_4_3
  188. default "4.4.19" if BR2_KERNEL_HEADERS_4_4
  189. default "4.5.7" if BR2_KERNEL_HEADERS_4_5
  190. default "4.6.7" if BR2_KERNEL_HEADERS_4_6
  191. default "4.7.3" if BR2_KERNEL_HEADERS_4_7
  192. default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION