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_9
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_VERSION
71 bool "Manually specified Linux version"
74 config BR2_DEFAULT_KERNEL_VERSION
75 string "linux version"
76 depends on BR2_KERNEL_HEADERS_VERSION
78 Specify the version you want to use.
82 bool "Custom kernel headers series"
83 depends on BR2_KERNEL_HEADERS_VERSION || BR2_KERNEL_HEADERS_AS_KERNEL
85 Specify the kernel headers series you manually selected, above.
87 This is used to hide/show some packages that have strict
88 requirements on the version of kernel headers.
90 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9
92 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9
94 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_8
96 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8
98 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_7
100 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7
102 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_6
104 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6
106 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_5
108 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5
110 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4
112 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4
114 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_3
116 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3
118 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_2
120 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
122 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_1
124 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1
126 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_0
128 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
130 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_19
132 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19
134 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_18
136 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
138 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_17
140 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
142 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_16
144 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16
146 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_15
148 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
150 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_14
152 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
154 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_13
156 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
158 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_12
160 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
162 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_11
164 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
166 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_10
168 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
170 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_9
172 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
174 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_8
176 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
178 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_7
180 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
182 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_6
184 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6
186 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_5
188 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
190 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_4
192 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
194 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_3
196 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
198 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_2
200 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
202 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_1
204 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
206 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_0
208 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
210 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_REALLY_OLD
215 config BR2_DEFAULT_KERNEL_HEADERS
217 default "3.2.84" if BR2_KERNEL_HEADERS_3_2
218 default "3.4.113" if BR2_KERNEL_HEADERS_3_4
219 default "3.10.104" if BR2_KERNEL_HEADERS_3_10
220 default "3.12.69" if BR2_KERNEL_HEADERS_3_12
221 default "3.18.47" if BR2_KERNEL_HEADERS_3_18
222 default "3.19.8" if BR2_KERNEL_HEADERS_3_19
223 default "4.0.9" if BR2_KERNEL_HEADERS_4_0
224 default "4.1.38" if BR2_KERNEL_HEADERS_4_1
225 default "4.4.45" if BR2_KERNEL_HEADERS_4_4
226 default "4.8.17" if BR2_KERNEL_HEADERS_4_8
227 default "4.9.6" if BR2_KERNEL_HEADERS_4_9
228 default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION