1 comment "Kernel Header Options"
3 config BR2_PACKAGE_HOST_LINUX_HEADERS
7 prompt "Kernel Headers"
8 default BR2_KERNEL_HEADERS_AS_KERNEL if BR2_LINUX_KERNEL
9 default BR2_KERNEL_HEADERS_4_10
11 Select the kernel version to get headers from.
13 The kernel headers must be at least as old as the oldest kernel
14 you intend to run on your target.
16 If you use Buildroot to build a kernel, then you can use
17 the sources from that kernel as source for the headers.
19 If you choose a custom version of the kernel headers, or choose
20 to use the same sources as the kernel, you'll have to select
21 (below) the series of that kernel, so that Buildroot can show
22 or hide packages that have strong requirements on the kernel
25 config BR2_KERNEL_HEADERS_AS_KERNEL
26 bool "Same as kernel being built"
27 depends on BR2_LINUX_KERNEL
29 config BR2_KERNEL_HEADERS_3_2
30 bool "Linux 3.2.x kernel headers"
31 depends on !BR2_arc && !BR2_nios2
32 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
34 config BR2_KERNEL_HEADERS_3_4
35 bool "Linux 3.4.x kernel headers"
36 depends on !BR2_arc && !BR2_nios2
37 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
39 config BR2_KERNEL_HEADERS_3_10
40 bool "Linux 3.10.x kernel headers"
42 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
44 config BR2_KERNEL_HEADERS_3_12
45 bool "Linux 3.12.x kernel headers"
47 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
49 config BR2_KERNEL_HEADERS_3_18
50 bool "Linux 3.18.x kernel headers"
52 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
54 config BR2_KERNEL_HEADERS_4_1
55 bool "Linux 4.1.x kernel headers"
56 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1
58 config BR2_KERNEL_HEADERS_4_4
59 bool "Linux 4.4.x kernel headers"
60 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4
62 config BR2_KERNEL_HEADERS_4_8
63 bool "Linux 4.8.x kernel headers"
64 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8
66 config BR2_KERNEL_HEADERS_4_9
67 bool "Linux 4.9.x kernel headers"
68 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9
70 config BR2_KERNEL_HEADERS_4_10
71 bool "Linux 4.10.x kernel headers"
72 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_10
74 config BR2_KERNEL_HEADERS_VERSION
75 bool "Manually specified Linux version"
78 config BR2_DEFAULT_KERNEL_VERSION
79 string "linux version"
80 depends on BR2_KERNEL_HEADERS_VERSION
82 Specify the version you want to use.
86 bool "Custom kernel headers series"
87 depends on BR2_KERNEL_HEADERS_VERSION || BR2_KERNEL_HEADERS_AS_KERNEL
89 Specify the kernel headers series you manually selected, above.
91 This is used to hide/show some packages that have strict
92 requirements on the version of kernel headers.
94 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_10
96 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_10
98 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9
100 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9
102 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_8
104 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8
106 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_7
108 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7
110 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_6
112 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6
114 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_5
116 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5
118 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4
120 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4
122 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_3
124 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3
126 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_2
128 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
130 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_1
132 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1
134 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_0
136 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
138 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_19
140 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19
142 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_18
144 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
146 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_17
148 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
150 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_16
152 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16
154 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_15
156 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
158 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_14
160 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
162 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_13
164 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
166 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_12
168 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
170 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_11
172 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
174 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_10
176 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
178 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_9
180 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
182 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_8
184 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
186 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_7
188 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
190 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_6
192 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6
194 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_5
196 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
198 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_4
200 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
202 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_3
204 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
206 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_2
208 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
210 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_1
212 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
214 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_0
216 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
218 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_REALLY_OLD
223 config BR2_DEFAULT_KERNEL_HEADERS
225 default "3.2.86" if BR2_KERNEL_HEADERS_3_2
226 default "3.4.113" if BR2_KERNEL_HEADERS_3_4
227 default "3.10.105" if BR2_KERNEL_HEADERS_3_10
228 default "3.12.70" if BR2_KERNEL_HEADERS_3_12
229 default "3.18.48" if BR2_KERNEL_HEADERS_3_18
230 default "3.19.8" if BR2_KERNEL_HEADERS_3_19
231 default "4.0.9" if BR2_KERNEL_HEADERS_4_0
232 default "4.1.38" if BR2_KERNEL_HEADERS_4_1
233 default "4.4.52" if BR2_KERNEL_HEADERS_4_4
234 default "4.8.17" if BR2_KERNEL_HEADERS_4_8
235 default "4.9.13" if BR2_KERNEL_HEADERS_4_9
236 default "4.10.1" if BR2_KERNEL_HEADERS_4_10
237 default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION