don't fail if BR2_USE_UPDATES tries to update non-checkout
[buildroot.git] / target / linux / Config.in
bloba13fd450bf81fb911817ad45ef2aa6e7987a6ba1
1 #comment "Linux kernel options"
3 config BR2_PACKAGE_LINUX
4         bool "linux kernel"
5         depends on BR2_KERNEL_LINUX
6         default y
7         help
8           The Linux kernel.
9           http://www.kernel.org/
11           Note: Requires kernel-headers >= 2.6.19 since the other
12                 kernel headers are just that (headers) and not full
13                 kernels. This is a feature.
15 config BR2_PACKAGE_LINUX_EXPERIMENTAL_CONFIG
16         bool "linux kernel experimental configuration"
17         depends on BR2_PACKAGE_LINUX
18         depends on BR2_TARGET_ATMEL
19         default n
20         help
21           More advanced configuration (in development)
25 if ! BR2_PACKAGE_LINUX_EXPERIMENTAL_CONFIG
26 config BR2_PACKAGE_LINUX_KCONFIG
27         string ".config file"
28         depends on BR2_PACKAGE_LINUX
29         default ""
30         help
31           kernel's .config to use to build a kernel for the target.
33           If the above setting is empty, you can change the default
34           board-imposed value by passing LINUX26_KCONFIG=<path> to
35           make.
37 config BR2_PACKAGE_LINUX_FORMAT
38         string "kernel binary format"
39         depends on BR2_PACKAGE_LINUX
40         default ""
41         help
42           kernel binary format.
43           Popular values include:
44           - bzImage
45           - zImage
46           and other, architecture dependant formats.
48           Note that the default format is supposed to be set by your
49           board-description, if any.
50           i386 and compatible default to bzImage if nothing was given
51           above.
52           If the above setting is empty, you can change the default
53           board-imposed value by passing LINUX26_FORMAT=<string> to
54           make.
55 endif
57 if BR2_PACKAGE_LINUX_EXPERIMENTAL_CONFIG
59 choice
60         prompt "Linux Kernel Version"
61         depends on BR2_PACKAGE_LINUX
62         default BR2_LINUX_2_6_22_1
63         help
64           Select the specific Linux version you want to use
66 config BR2_LINUX_2_6_SNAP
67         bool "The latest snapshot for the stable Linux kernel"
68         depends on BR2_PACKAGE_LINUX
69         help
70           Linux 2.6.x-git#
72 config BR2_LINUX_2_6_MM
73         bool "With latest -mm patch for the stable Linux kernel"
74         depends on BR2_PACKAGE_LINUX
75         help
76           Linux 2.6.x-rc#-mm#
78 config BR2_LINUX_2_6_STABLE
79         bool "The latest stable Linux kernel (2.6.22.1)"
80         depends on BR2_PACKAGE_LINUX
81         help
82           Linux 2.6.22.1
84 config BR2_LINUX_2_6_22_1
85         bool "Linux 2.6.22.1"
86         depends on BR2_PACKAGE_LINUX
87         help
88           Linux 2.6.22-rc1
90 config BR2_LINUX_2_6_22
91         bool "Linux 2.6.22"
92         depends on BR2_PACKAGE_LINUX
93         help
94           Linux 2.6.22
96 config BR2_LINUX_2_6_21_6
97         bool "Linux 2.6.21.6"
98         depends on BR2_PACKAGE_LINUX
99         help
100           Linux 2.6.21.6
102 config BR2_LINUX_2_6_21_1
103         bool "Linux 2.6.21.1"
104         depends on BR2_PACKAGE_LINUX
105         help
106           Linux 2.6.21.1
108 config BR2_LINUX_2_6_21
109         bool "Linux 2.6.21"
110         depends on BR2_PACKAGE_LINUX
111         help
112           Linux 2.6.21
114 config BR2_LINUX_2_6_20_4
115         bool "Linux 2.6.20.4"
116         depends on BR2_PACKAGE_LINUX
117         help
118           Linux 2.6.20.4
120 config BR2_LINUX_2_6_20
121         bool "Linux 2.6.20"
122         depends on BR2_PACKAGE_LINUX
123         help
124           Linux 2.6.20
126 config BR2_LINUX_2_6_19_2
127         bool "Linux 2.6.19.2"
128         depends on BR2_PACKAGE_LINUX
129         help
130           Linux 2.6.19.2
132 config BR2_LINUX_2_6_19
133         bool "Linux 2.6.19"
134         depends on BR2_PACKAGE_LINUX
135         help
136           Linux 2.6.19
138 config BR2_LINUX_2_6_18
139         bool "Linux 2.6.18"
140         depends on BR2_PACKAGE_LINUX
141         help
142           Linux 2.6.18
144 config BR2_LINUX_2_6_17
145         bool "Linux 2.6.17"
146         depends on BR2_PACKAGE_LINUX
147         help
148           Linux 2.6.17
150 config BR2_LINUX_2_6_16
151         bool "Linux 2.6.16"
152         depends on BR2_PACKAGE_LINUX
153         help
154           Linux 2.6.16
156 config BR2_LINUX_2_6_15
157         bool "Linux 2.6.15"
158         depends on BR2_PACKAGE_LINUX
159         help
160           Linux 2.6.15
162 config BR2_LINUX_2_6_23
163         bool "Linux 2.6.23"
164         depends on BR2_PACKAGE_LINUX
165         help
166           Linux 2.6.23
168 config BR2_LINUX_CUSTOM
169         bool "Linux <custom> version"
170         depends on BR2_PACKAGE_LINUX
171         help
172           Linux <your selection>
174 endchoice
176 config BR2_CUSTOM_DOWNLOAD_LINUX26_VERSION
177         string "Linux Tarball version"
178         depends on BR2_LINUX_CUSTOM
179         default "linux-2.6.22"
181 config BR2_CUSTOM_LINUX26_VERSION
182         string "Linux Version"
183         depends on BR2_LINUX_CUSTOM
184         default "linux-2.6.22-version"
186 config BR2_CUSTOM_LINUX26_RC_PATCH
187         string "RC patch (if needed)"
188         depends on BR2_LINUX_CUSTOM
189         default "patch-2.6.22-rc6-mm1.bz2"
191 menu "Patches"
192         depends on BR2_PACKAGE_LINUX
194 config BR2_LINUX_BSP_PATCH
195         string "Additional patch to apply (supply full path)"
196         default ""
198 endmenu
200 config BR2_DOWNLOAD_LINUX26_VERSION
201         string #"Selected Tarball:"
202         default "2.6.15" if BR2_LINUX_2_6_15
203         default "2.6.16" if BR2_LINUX_2_6_16
204         default "2.6.17" if BR2_LINUX_2_6_17
205         default "2.6.18" if BR2_LINUX_2_6_18
206         default "2.6.19" if BR2_LINUX_2_6_19
207         default "2.6.19.2" if BR2_LINUX_2_6_19_2
208         default "2.6.20" if BR2_LINUX_2_6_20
209         default "2.6.20.4" if BR2_LINUX_2_6_20_4
210         default "2.6.21" if BR2_LINUX_2_6_21
211         default "2.6.21.1" if BR2_LINUX_2_6_21_1
212         default "2.6.21.6" if BR2_LINUX_2_6_21_6
213         default "2.6.22" if BR2_LINUX_2_6_22
214         default "2.6.22.1" if BR2_LINUX_2_6_22_1
215         default "2.6.22" if BR2_LINUX_2_6_23_RC1
216         default "2.6.22" if BR2_LINUX_2_6_SNAP
217         default "2.6.22" if BR2_LINUX_2_6_MM
218         default $(BR2_CUSTOM_DOWNLOAD_LINUX26_VERSION) if BR2_LINUX_CUSTOM
220 config BR2_LINUX26_VERSION
221         string "Selected Version:"
222         default "2.6.15" if BR2_LINUX_2_6_15
223         default "2.6.16" if BR2_LINUX_2_6_16
224         default "2.6.17" if BR2_LINUX_2_6_17
225         default "2.6.18" if BR2_LINUX_2_6_18
226         default "2.6.19" if BR2_LINUX_2_6_19
227         default "2.6.19.2" if BR2_LINUX_2_6_19_2
228         default "2.6.20" if BR2_LINUX_2_6_20
229         default "2.6.20.4" if BR2_LINUX_2_6_20_4
230         default "2.6.21" if BR2_LINUX_2_6_21
231         default "2.6.21.1" if BR2_LINUX_2_6_21_1
232         default "2.6.21.6" if BR2_LINUX_2_6_21_6
233         default "2.6.22" if BR2_LINUX_2_6_22
234         default "2.6.22.1" if BR2_LINUX_2_6_22_1
235         default "2.6.22" if BR2_LINUX_2_6_23_RC1
236         default "2.6.22" if BR2_LINUX_2_6_SNAP
237         default "2.6.22" if BR2_LINUX_2_6_MM
238         default $(BR2_CUSTOM_LINUX26_VERSION) if BR2_LINUX_CUSTOM
240 config BR2_LINUX26_RC_PATCH
241         string #"Selected Patch:"
242         default "" if BR2_LINUX_2_6_15
243         default "" if BR2_LINUX_2_6_16
244         default "" if BR2_LINUX_2_6_17
245         default "" if BR2_LINUX_2_6_18
246         default "" if BR2_LINUX_2_6_19
247         default "" if BR2_LINUX_2_6_19_2
248         default "" if BR2_LINUX_2_6_20
249         default "" if BR2_LINUX_2_6_20_4
250         default "" if BR2_LINUX_2_6_21
251         default "" if BR2_LINUX_2_6_21_1
252         default "" if BR2_LINUX_2_6_21_6
253         default "" if BR2_LINUX_2_6_22
254         default "" if BR2_LINUX_2_6_22_1
255         default "patch-2.6.23-rc1.bz2" if BR2_LINUX_2_6_23_RC1
256         default $(BR2_CUSTOM_LINUX26_RC_PATCH) if BR2_LINUX_CUSTOM
258 choice
259         prompt "Linux Kernel Configuration"
260         depends on BR2_PACKAGE_LINUX
261         default BR2_PACKAGE_LINUX_USE_KCONFIG
262         help
263           Select the way to configure the Linux
265 config BR2_PACKAGE_LINUX_USE_KCONFIG
266         bool ".config file"
267         depends on BR2_PACKAGE_LINUX
268         help
269           kernel's .config to use to build a kernel for the target.
271           If the above setting is empty, you can change the default
272           board-imposed value by passing LINUX26_KCONFIG=<path> to
273           make.
275 config BR2_LINUX26_DEFCONFIG
276         bool "Run make <board>_defconfig "
277         depends on BR2_PACKAGE_LINUX
278         help
279           Configure Linux by make <board>_defconfig
281 config BR2_LINUX_CUSTOMIZE
282         bool "Run make ARCH=$(ARCH) xconfig before build"
283         depends on BR2_PACKAGE_LINUX
284         help
285           Configure Linux by make xconfig
286 endchoice
288 config BR2_PACKAGE_LINUX_KCONFIG
289         string ".config file"
290         depends on BR2_PACKAGE_LINUX_USE_KCONFIG
291         default "$(BR2_BOARD_PATH)/$(BR2_BOARD_NAME)-linux-$(LINUX26_VERSION).config"
292         help
293           kernel's .config to use to build a kernel for the target.
295           If the above setting is empty, you can change the default
296           board-imposed value by passing LINUX26_KCONFIG=<path> to
297           make.
299 choice
300         prompt "kernel binary format"
301         depends on BR2_PACKAGE_LINUX
302         default BR2_LINUX_BIN_UIMAGE
303         help
304           Select the specific Linux binary type you want to use
306 config BR2_LINUX_BIN_BZIMAGE
307         bool "bzImage"
308         depends on BR2_PACKAGE_LINUX
309         help
310           Linux 2.6.19.2
312 config BR2_LINUX_BIN_UIMAGE
313         bool "uImage"
314         depends on BR2_PACKAGE_LINUX
315         help
316           Build uImage binary
318 config BR2_LINUX_BIN_VMLINUX
319         bool "vmlinux"
320         depends on BR2_PACKAGE_LINUX
321         help
322           Build vmlinux binary
324 config BR2_LINUX_BIN_ZIMAGE
325         bool "zImage"
326         depends on BR2_PACKAGE_LINUX
327         help
328           Linux 2.6.19.2
330 config BR2_LINUX_BIN_CUSTOM
331         bool "<custom> Linux binary"
332         depends on BR2_PACKAGE_LINUX
333         help
334           Build custom Linux binary format
335 endchoice
337 config BR2_LINUX_BIN_CUSTOM_BIN
338         string "custom kernel binary format"
339         depends on BR2_LINUX_BIN_CUSTOM
340         default ""
341         help
342           Which Linux binary format?
344 config BR2_PACKAGE_LINUX_FORMAT
345         string #"kernel binary format"
346         depends on BR2_PACKAGE_LINUX
347         default "bzImage" if BR2_LINUX_BIN_BZIMAGE
348         default "uImage" if BR2_LINUX_BIN_UIMAGE
349         default "vmlinux" if BR2_LINUX_BIN_VMLINUX
350         default "zImage" if BR2_LINUX_BIN_ZIMAGE
351         default $(BR2_LINUX_BIN_CUSTOM_BIN) if BR2_LINUX_BIN_CUSTOM
352         help
353           kernel binary format.
354           Popular values include:
355           - bzImage
356           - zImage
357           - vmlinux
358           - zImage
359           - xipImage
360           and other, architecture dependant formats.
362           Note that the default format is supposed to be set by your
363           board-description, if any.
364           i386 and compatible default to bzImage if nothing was given
365           above.
366           If the above setting is empty, you can change the default
367           board-imposed value by passing LINUX26_FORMAT=<string> to
368           make.
370 comment "Destinations for linux kernel binaries"
371         depends on BR2_PACKAGE_LINUX
373 config BR2_LINUX_IN_ROOTFS
374         bool "Copy kernel to root file system"
375         depends on BR2_PACKAGE_LINUX
376         default n
377         help
378           Copy kernel to <root>/boot directory
380 menuconfig BR2_LINUX_COPY
381         bool "Secondary Copy"
382         depends on BR2_PACKAGE_LINUX
383         default y
385 config BR2_LINUX_COPYTO
386         string "also copy the image to..."
387         depends on BR2_LINUX_COPY
388         default "/tftpboot"
389         help
390           Copy kernel to secondary location
392 endif