Config.in.host 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234
  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_11
  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_4_1
  39. bool "Linux 4.1.x kernel headers"
  40. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1
  41. config BR2_KERNEL_HEADERS_4_4
  42. bool "Linux 4.4.x kernel headers"
  43. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4
  44. config BR2_KERNEL_HEADERS_4_9
  45. bool "Linux 4.9.x kernel headers"
  46. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9
  47. config BR2_KERNEL_HEADERS_4_10
  48. bool "Linux 4.10.x kernel headers"
  49. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_10
  50. config BR2_KERNEL_HEADERS_4_11
  51. bool "Linux 4.11.x kernel headers"
  52. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11
  53. config BR2_KERNEL_HEADERS_VERSION
  54. bool "Manually specified Linux version"
  55. endchoice
  56. config BR2_DEFAULT_KERNEL_VERSION
  57. string "linux version"
  58. depends on BR2_KERNEL_HEADERS_VERSION
  59. help
  60. Specify the version you want to use.
  61. E.G.: 3.6.10
  62. choice
  63. bool "Custom kernel headers series"
  64. depends on BR2_KERNEL_HEADERS_VERSION || BR2_KERNEL_HEADERS_AS_KERNEL
  65. help
  66. Specify the kernel headers series you manually selected, above.
  67. This is used to hide/show some packages that have strict
  68. requirements on the version of kernel headers.
  69. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_11
  70. bool "4.11.x"
  71. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11
  72. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_10
  73. bool "4.10.x"
  74. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_10
  75. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9
  76. bool "4.9.x"
  77. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9
  78. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_8
  79. bool "4.8.x"
  80. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8
  81. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_7
  82. bool "4.7.x"
  83. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7
  84. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_6
  85. bool "4.6.x"
  86. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6
  87. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_5
  88. bool "4.5.x"
  89. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5
  90. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4
  91. bool "4.4.x"
  92. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4
  93. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_3
  94. bool "4.3.x"
  95. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3
  96. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_2
  97. bool "4.2.x"
  98. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
  99. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_1
  100. bool "4.1.x"
  101. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1
  102. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_0
  103. bool "4.0.x"
  104. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
  105. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_19
  106. bool "3.19.x"
  107. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19
  108. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_18
  109. bool "3.18.x"
  110. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
  111. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_17
  112. bool "3.17.x"
  113. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
  114. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_16
  115. bool "3.16.x"
  116. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16
  117. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_15
  118. bool "3.15.x"
  119. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
  120. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_14
  121. bool "3.14.x"
  122. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
  123. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_13
  124. bool "3.13.x"
  125. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
  126. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_12
  127. bool "3.12.x"
  128. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
  129. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_11
  130. bool "3.11.x"
  131. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
  132. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_10
  133. bool "3.10.x"
  134. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
  135. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_9
  136. bool "3.9.x"
  137. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
  138. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_8
  139. bool "3.8.x"
  140. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
  141. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_7
  142. bool "3.7.x"
  143. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
  144. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_6
  145. bool "3.6.x"
  146. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6
  147. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_5
  148. bool "3.5.x"
  149. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
  150. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_4
  151. bool "3.4.x"
  152. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
  153. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_3
  154. bool "3.3.x"
  155. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
  156. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_2
  157. bool "3.2.x"
  158. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
  159. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_1
  160. bool "3.1.x"
  161. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
  162. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_0
  163. bool "3.0.x"
  164. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
  165. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_REALLY_OLD
  166. bool "2.6.x"
  167. endchoice
  168. config BR2_DEFAULT_KERNEL_HEADERS
  169. string
  170. default "3.2.88" if BR2_KERNEL_HEADERS_3_2
  171. default "3.4.113" if BR2_KERNEL_HEADERS_3_4
  172. default "3.10.105" if BR2_KERNEL_HEADERS_3_10
  173. default "3.12.74" if BR2_KERNEL_HEADERS_3_12
  174. default "4.1.39" if BR2_KERNEL_HEADERS_4_1
  175. default "4.4.70" if BR2_KERNEL_HEADERS_4_4
  176. default "4.9.30" if BR2_KERNEL_HEADERS_4_9
  177. default "4.10.17" if BR2_KERNEL_HEADERS_4_10
  178. default "4.11.3" if BR2_KERNEL_HEADERS_4_11
  179. default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION