2
1

Config.in.host 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240
  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_8
  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_4
  50. bool "Linux 4.4.x kernel headers"
  51. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4
  52. config BR2_KERNEL_HEADERS_4_5
  53. bool "Linux 4.5.x kernel headers"
  54. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5
  55. config BR2_KERNEL_HEADERS_4_6
  56. bool "Linux 4.6.x kernel headers"
  57. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6
  58. config BR2_KERNEL_HEADERS_4_7
  59. bool "Linux 4.7.x kernel headers"
  60. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7
  61. config BR2_KERNEL_HEADERS_4_8
  62. bool "Linux 4.8.x kernel headers"
  63. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8
  64. config BR2_KERNEL_HEADERS_VERSION
  65. bool "Manually specified Linux version"
  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. choice
  74. bool "Custom kernel headers series"
  75. depends on BR2_KERNEL_HEADERS_VERSION || BR2_KERNEL_HEADERS_AS_KERNEL
  76. help
  77. Specify the kernel headers series you manually selected, above.
  78. This is used to hide/show some packages that have strict
  79. requirements on the version of kernel headers.
  80. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_8
  81. bool "4.8.x"
  82. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8
  83. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_7
  84. bool "4.7.x"
  85. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7
  86. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_6
  87. bool "4.6.x"
  88. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6
  89. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_5
  90. bool "4.5.x"
  91. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5
  92. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4
  93. bool "4.4.x"
  94. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4
  95. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_3
  96. bool "4.3.x"
  97. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3
  98. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_2
  99. bool "4.2.x"
  100. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
  101. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_1
  102. bool "4.1.x"
  103. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1
  104. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_0
  105. bool "4.0.x"
  106. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
  107. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_19
  108. bool "3.19.x"
  109. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19
  110. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_18
  111. bool "3.18.x"
  112. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
  113. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_17
  114. bool "3.17.x"
  115. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
  116. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_16
  117. bool "3.16.x"
  118. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16
  119. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_15
  120. bool "3.15.x"
  121. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
  122. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_14
  123. bool "3.14.x"
  124. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
  125. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_13
  126. bool "3.13.x"
  127. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
  128. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_12
  129. bool "3.12.x"
  130. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
  131. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_11
  132. bool "3.11.x"
  133. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
  134. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_10
  135. bool "3.10.x"
  136. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
  137. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_9
  138. bool "3.9.x"
  139. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
  140. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_8
  141. bool "3.8.x"
  142. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
  143. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_7
  144. bool "3.7.x"
  145. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
  146. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_6
  147. bool "3.6.x"
  148. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6
  149. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_5
  150. bool "3.5.x"
  151. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
  152. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_4
  153. bool "3.4.x"
  154. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
  155. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_3
  156. bool "3.3.x"
  157. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
  158. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_2
  159. bool "3.2.x"
  160. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
  161. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_1
  162. bool "3.1.x"
  163. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
  164. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_0
  165. bool "3.0.x"
  166. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
  167. config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_REALLY_OLD
  168. bool "2.6.x"
  169. endchoice
  170. config BR2_DEFAULT_KERNEL_HEADERS
  171. string
  172. default "3.2.82" if BR2_KERNEL_HEADERS_3_2
  173. default "3.4.112" if BR2_KERNEL_HEADERS_3_4
  174. default "3.10.103" if BR2_KERNEL_HEADERS_3_10
  175. default "3.12.64" if BR2_KERNEL_HEADERS_3_12
  176. default "3.14.79" if BR2_KERNEL_HEADERS_3_14
  177. default "3.18.43" if BR2_KERNEL_HEADERS_3_18
  178. default "3.19.8" if BR2_KERNEL_HEADERS_3_19
  179. default "4.0.9" if BR2_KERNEL_HEADERS_4_0
  180. default "4.1.34" if BR2_KERNEL_HEADERS_4_1
  181. default "4.4.24" if BR2_KERNEL_HEADERS_4_4
  182. default "4.5.7" if BR2_KERNEL_HEADERS_4_5
  183. default "4.6.7" if BR2_KERNEL_HEADERS_4_6
  184. default "4.7.7" if BR2_KERNEL_HEADERS_4_7
  185. default "4.8.1" if BR2_KERNEL_HEADERS_4_8
  186. default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION