]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blob - package/linux-headers/Config.in.host
7cac2b34587dc0e74fb41d596c19b486392414f3
[coffee/buildroot.git] / package / linux-headers / Config.in.host
1 comment "Kernel Header Options"
2
3 config BR2_PACKAGE_HOST_LINUX_HEADERS
4         bool
5
6 choice
7         prompt "Kernel Headers"
8         default BR2_KERNEL_HEADERS_AS_KERNEL if BR2_LINUX_KERNEL
9         default BR2_KERNEL_HEADERS_4_14
10         help
11           Select the kernel version to get headers from.
12
13           The kernel headers must be at least as old as the oldest
14           kernel you intend to run on your target.
15
16           If you use Buildroot to build a kernel, then you can use
17           the sources from that kernel as source for the headers.
18
19           If you choose a custom version of the kernel headers, or
20           choose to use the same sources as the kernel, you'll have to
21           select (below) the series of that kernel, so that Buildroot
22           can show or hide packages that have strong requirements on the
23           kernel headers.
24
25 config BR2_KERNEL_HEADERS_AS_KERNEL
26         bool "Same as kernel being built"
27         depends on BR2_LINUX_KERNEL
28
29 config BR2_KERNEL_HEADERS_3_2
30         bool "Linux 3.2.x kernel headers"
31         depends on !BR2_aarch64 && !BR2_arc && !BR2_nios2
32         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
33
34 config BR2_KERNEL_HEADERS_3_4
35         bool "Linux 3.4.x kernel headers"
36         depends on !BR2_aarch64 && !BR2_arc && !BR2_nios2
37         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
38
39 config BR2_KERNEL_HEADERS_3_10
40         bool "Linux 3.10.x kernel headers"
41         depends on !BR2_nios2
42         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
43
44 config BR2_KERNEL_HEADERS_3_12
45         bool "Linux 3.12.x kernel headers"
46         depends on !BR2_nios2
47         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
48
49 config BR2_KERNEL_HEADERS_4_1
50         bool "Linux 4.1.x kernel headers"
51         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1
52
53 config BR2_KERNEL_HEADERS_4_4
54         bool "Linux 4.4.x kernel headers"
55         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4
56
57 config BR2_KERNEL_HEADERS_4_9
58         bool "Linux 4.9.x kernel headers"
59         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9
60
61 config BR2_KERNEL_HEADERS_4_10
62         bool "Linux 4.10.x kernel headers"
63         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_10
64
65 config BR2_KERNEL_HEADERS_4_11
66         bool "Linux 4.11.x kernel headers"
67         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11
68
69 config BR2_KERNEL_HEADERS_4_12
70         bool "Linux 4.12.x kernel headers"
71         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12
72
73 config BR2_KERNEL_HEADERS_4_13
74         bool "Linux 4.13.x kernel headers"
75         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_13
76
77 config BR2_KERNEL_HEADERS_4_14
78         bool "Linux 4.14.x kernel headers"
79         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14
80
81 config BR2_KERNEL_HEADERS_VERSION
82         bool "Manually specified Linux version"
83
84 endchoice
85
86 config BR2_DEFAULT_KERNEL_VERSION
87         string "linux version"
88         depends on BR2_KERNEL_HEADERS_VERSION
89         help
90           Specify the version you want to use.
91           E.G.: 3.6.10
92
93 choice
94         bool "Custom kernel headers series"
95         depends on BR2_KERNEL_HEADERS_VERSION || BR2_KERNEL_HEADERS_AS_KERNEL
96         help
97           Specify the kernel headers series you manually selected,
98           above.
99
100           This is used to hide/show some packages that have strict
101           requirements on the version of kernel headers.
102
103 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_14
104         bool "4.14.x"
105         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14
106
107 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_13
108         bool "4.13.x"
109         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_13
110
111 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_12
112         bool "4.12.x"
113         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12
114
115 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_11
116         bool "4.11.x"
117         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11
118
119 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_10
120         bool "4.10.x"
121         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_10
122
123 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9
124         bool "4.9.x"
125         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9
126
127 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_8
128         bool "4.8.x"
129         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8
130
131 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_7
132         bool "4.7.x"
133         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7
134
135 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_6
136         bool "4.6.x"
137         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6
138
139 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_5
140         bool "4.5.x"
141         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5
142
143 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4
144         bool "4.4.x"
145         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4
146
147 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_3
148         bool "4.3.x"
149         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3
150
151 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_2
152         bool "4.2.x"
153         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
154
155 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_1
156         bool "4.1.x"
157         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1
158
159 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_0
160         bool "4.0.x"
161         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
162
163 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_19
164         bool "3.19.x"
165         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19
166
167 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_18
168         bool "3.18.x"
169         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
170
171 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_17
172         bool "3.17.x"
173         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
174
175 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_16
176         bool "3.16.x"
177         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16
178
179 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_15
180         bool "3.15.x"
181         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
182
183 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_14
184         bool "3.14.x"
185         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
186
187 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_13
188         bool "3.13.x"
189         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
190
191 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_12
192         bool "3.12.x"
193         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
194
195 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_11
196         bool "3.11.x"
197         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
198
199 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_10
200         bool "3.10.x"
201         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
202
203 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_9
204         bool "3.9.x"
205         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
206
207 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_8
208         bool "3.8.x"
209         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
210
211 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_7
212         bool "3.7.x"
213         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
214
215 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_6
216         bool "3.6.x"
217         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6
218
219 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_5
220         bool "3.5.x"
221         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
222
223 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_4
224         bool "3.4.x"
225         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
226
227 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_3
228         bool "3.3.x"
229         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
230
231 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_2
232         bool "3.2.x"
233         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
234
235 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_1
236         bool "3.1.x"
237         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
238
239 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_0
240         bool "3.0.x"
241         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
242
243 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_REALLY_OLD
244         bool "2.6.x"
245
246 endchoice
247
248 config BR2_DEFAULT_KERNEL_HEADERS
249         string
250         default "3.2.97"        if BR2_KERNEL_HEADERS_3_2
251         default "3.4.113"       if BR2_KERNEL_HEADERS_3_4
252         default "3.10.108"      if BR2_KERNEL_HEADERS_3_10
253         default "3.12.74"       if BR2_KERNEL_HEADERS_3_12
254         default "4.1.48"        if BR2_KERNEL_HEADERS_4_1
255         default "4.4.110"       if BR2_KERNEL_HEADERS_4_4
256         default "4.9.75"        if BR2_KERNEL_HEADERS_4_9
257         default "4.10.17"       if BR2_KERNEL_HEADERS_4_10
258         default "4.11.12"       if BR2_KERNEL_HEADERS_4_11
259         default "4.12.14"       if BR2_KERNEL_HEADERS_4_12
260         default "4.13.16"       if BR2_KERNEL_HEADERS_4_13
261         default "4.14.12"       if BR2_KERNEL_HEADERS_4_14
262         default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION