package/nbd: add option for the trdump utility
[buildroot-gz.git] / package / linux-headers / Config.in.host
blob7c36e1700712042a046c1dece523f82019a870a2
1 comment "Kernel Header Options"
3 config BR2_PACKAGE_HOST_LINUX_HEADERS
4         bool
6 choice
7         prompt "Kernel Headers"
8         default BR2_KERNEL_HEADERS_AS_KERNEL if BR2_LINUX_KERNEL
9         default BR2_KERNEL_HEADERS_4_10
10         help
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
23           headers.
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"
41                 depends on !BR2_nios2
42                 select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
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
49         config BR2_KERNEL_HEADERS_3_18
50                 bool "Linux 3.18.x kernel headers"
51                 depends on !BR2_nios2
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"
76 endchoice
78 config BR2_DEFAULT_KERNEL_VERSION
79         string "linux version"
80         depends on BR2_KERNEL_HEADERS_VERSION
81         help
82           Specify the version you want to use.
83           E.G.: 3.6.10
85 choice
86         bool "Custom kernel headers series"
87         depends on BR2_KERNEL_HEADERS_VERSION || BR2_KERNEL_HEADERS_AS_KERNEL
88         help
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
95         bool "4.10.x"
96         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_10
98 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9
99         bool "4.9.x"
100         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9
102 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_8
103         bool "4.8.x"
104         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8
106 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_7
107         bool "4.7.x"
108         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7
110 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_6
111         bool "4.6.x"
112         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6
114 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_5
115         bool "4.5.x"
116         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5
118 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4
119         bool "4.4.x"
120         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4
122 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_3
123         bool "4.3.x"
124         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3
126 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_2
127         bool "4.2.x"
128         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
130 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_1
131         bool "4.1.x"
132         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1
134 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_0
135         bool "4.0.x"
136         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
138 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_19
139         bool "3.19.x"
140         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19
142 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_18
143         bool "3.18.x"
144         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
146 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_17
147         bool "3.17.x"
148         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
150 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_16
151         bool "3.16.x"
152         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16
154 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_15
155         bool "3.15.x"
156         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
158 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_14
159         bool "3.14.x"
160         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
162 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_13
163         bool "3.13.x"
164         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
166 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_12
167         bool "3.12.x"
168         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
170 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_11
171         bool "3.11.x"
172         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11
174 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_10
175         bool "3.10.x"
176         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
178 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_9
179         bool "3.9.x"
180         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
182 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_8
183         bool "3.8.x"
184         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
186 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_7
187         bool "3.7.x"
188         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
190 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_6
191         bool "3.6.x"
192         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6
194 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_5
195         bool "3.5.x"
196         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
198 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_4
199         bool "3.4.x"
200         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
202 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_3
203         bool "3.3.x"
204         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
206 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_2
207         bool "3.2.x"
208         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
210 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_1
211         bool "3.1.x"
212         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
214 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_0
215         bool "3.0.x"
216         select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
218 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_REALLY_OLD
219         bool "2.6.x"
221 endchoice
223 config BR2_DEFAULT_KERNEL_HEADERS
224         string
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