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_4_1
50 bool "Linux 4.1.x kernel headers"
51 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1
53 config BR2_KERNEL_HEADERS_4_4
54 bool "Linux 4.4.x kernel headers"
55 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4
57 config BR2_KERNEL_HEADERS_4_9
58 bool "Linux 4.9.x kernel headers"
59 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9
61 config BR2_KERNEL_HEADERS_4_10
62 bool "Linux 4.10.x kernel headers"
63 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_10
65 config BR2_KERNEL_HEADERS_VERSION
66 bool "Manually specified Linux version"
69 config BR2_DEFAULT_KERNEL_VERSION
70 string "linux version"
71 depends on BR2_KERNEL_HEADERS_VERSION
73 Specify the version you want to use.
77 bool "Custom kernel headers series"
78 depends on BR2_KERNEL_HEADERS_VERSION || BR2_KERNEL_HEADERS_AS_KERNEL
80 Specify the kernel headers series you manually selected, above.
82 This is used to hide/show some packages that have strict
83 requirements on the version of kernel headers.
85 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_10
87 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_10
89 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9
91 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9
93 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_8
95 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8
97 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_7
99 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7
101 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_6
103 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6
105 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_5
107 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5
109 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4
111 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4
113 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_3
115 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3
117 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_2
119 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
121 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_1
123 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1
125 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_0
127 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
129 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_19
131 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19
133 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_18
135 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
137 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_17
139 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
141 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_16
143 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16
145 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_15
147 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
149 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_14
151 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
153 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_13
155 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
157 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_12
159 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
161 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_11
163 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
165 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_10
167 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
169 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_9
171 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
173 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_8
175 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
177 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_7
179 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
181 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_6
183 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6
185 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_5
187 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
189 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_4
191 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
193 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_3
195 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
197 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_2
199 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
201 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_1
203 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
205 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_0
207 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
209 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_REALLY_OLD
214 config BR2_DEFAULT_KERNEL_HEADERS
216 default "3.2.86" if BR2_KERNEL_HEADERS_3_2
217 default "3.4.113" if BR2_KERNEL_HEADERS_3_4
218 default "3.10.105" if BR2_KERNEL_HEADERS_3_10
219 default "3.12.71" if BR2_KERNEL_HEADERS_3_12
220 default "4.1.38" if BR2_KERNEL_HEADERS_4_1
221 default "4.4.55" if BR2_KERNEL_HEADERS_4_4
222 default "4.9.16" if BR2_KERNEL_HEADERS_4_9
223 default "4.10.4" if BR2_KERNEL_HEADERS_4_10
224 default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION