1 #comment "Linux kernel options"
3 config BR2_PACKAGE_LINUX
5 depends on BR2_KERNEL_LINUX
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
21 More advanced configuration (in development)
25 if ! BR2_PACKAGE_LINUX_EXPERIMENTAL_CONFIG
26 config BR2_PACKAGE_LINUX_KCONFIG
28 depends on BR2_PACKAGE_LINUX
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
37 config BR2_PACKAGE_LINUX_FORMAT
38 string "kernel binary format"
39 depends on BR2_PACKAGE_LINUX
43 Popular values include:
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
52 If the above setting is empty, you can change the default
53 board-imposed value by passing LINUX26_FORMAT=<string> to
57 if BR2_PACKAGE_LINUX_EXPERIMENTAL_CONFIG
60 prompt "Linux Kernel Version"
61 depends on BR2_PACKAGE_LINUX
62 default BR2_LINUX_2_6_22_1
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
72 config BR2_LINUX_2_6_MM
73 bool "With latest -mm patch for the stable Linux kernel"
74 depends on BR2_PACKAGE_LINUX
78 config BR2_LINUX_2_6_STABLE
79 bool "The latest stable Linux kernel (2.6.22.1)"
80 depends on BR2_PACKAGE_LINUX
84 config BR2_LINUX_2_6_22_1
86 depends on BR2_PACKAGE_LINUX
90 config BR2_LINUX_2_6_22
92 depends on BR2_PACKAGE_LINUX
96 config BR2_LINUX_2_6_21_6
98 depends on BR2_PACKAGE_LINUX
102 config BR2_LINUX_2_6_21_1
103 bool "Linux 2.6.21.1"
104 depends on BR2_PACKAGE_LINUX
108 config BR2_LINUX_2_6_21
110 depends on BR2_PACKAGE_LINUX
114 config BR2_LINUX_2_6_20_4
115 bool "Linux 2.6.20.4"
116 depends on BR2_PACKAGE_LINUX
120 config BR2_LINUX_2_6_20
122 depends on BR2_PACKAGE_LINUX
126 config BR2_LINUX_2_6_19_2
127 bool "Linux 2.6.19.2"
128 depends on BR2_PACKAGE_LINUX
132 config BR2_LINUX_2_6_19
134 depends on BR2_PACKAGE_LINUX
138 config BR2_LINUX_2_6_18
140 depends on BR2_PACKAGE_LINUX
144 config BR2_LINUX_2_6_17
146 depends on BR2_PACKAGE_LINUX
150 config BR2_LINUX_2_6_16
152 depends on BR2_PACKAGE_LINUX
156 config BR2_LINUX_2_6_15
158 depends on BR2_PACKAGE_LINUX
162 config BR2_LINUX_2_6_23
164 depends on BR2_PACKAGE_LINUX
168 config BR2_LINUX_CUSTOM
169 bool "Linux <custom> version"
170 depends on BR2_PACKAGE_LINUX
172 Linux <your selection>
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"
192 depends on BR2_PACKAGE_LINUX
194 config BR2_LINUX_BSP_PATCH
195 string "Additional patch to apply (supply full path)"
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
259 prompt "Linux Kernel Configuration"
260 depends on BR2_PACKAGE_LINUX
261 default BR2_PACKAGE_LINUX_USE_KCONFIG
263 Select the way to configure the Linux
265 config BR2_PACKAGE_LINUX_USE_KCONFIG
267 depends on BR2_PACKAGE_LINUX
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
275 config BR2_LINUX26_DEFCONFIG
276 bool "Run make <board>_defconfig "
277 depends on BR2_PACKAGE_LINUX
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
285 Configure Linux by make xconfig
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"
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
300 prompt "kernel binary format"
301 depends on BR2_PACKAGE_LINUX
302 default BR2_LINUX_BIN_UIMAGE
304 Select the specific Linux binary type you want to use
306 config BR2_LINUX_BIN_BZIMAGE
308 depends on BR2_PACKAGE_LINUX
312 config BR2_LINUX_BIN_UIMAGE
314 depends on BR2_PACKAGE_LINUX
318 config BR2_LINUX_BIN_VMLINUX
320 depends on BR2_PACKAGE_LINUX
324 config BR2_LINUX_BIN_ZIMAGE
326 depends on BR2_PACKAGE_LINUX
330 config BR2_LINUX_BIN_CUSTOM
331 bool "<custom> Linux binary"
332 depends on BR2_PACKAGE_LINUX
334 Build custom Linux binary format
337 config BR2_LINUX_BIN_CUSTOM_BIN
338 string "custom kernel binary format"
339 depends on BR2_LINUX_BIN_CUSTOM
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
353 kernel binary format.
354 Popular values include:
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
366 If the above setting is empty, you can change the default
367 board-imposed value by passing LINUX26_FORMAT=<string> to
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
378 Copy kernel to <root>/boot directory
380 menuconfig BR2_LINUX_COPY
381 bool "Secondary Copy"
382 depends on BR2_PACKAGE_LINUX
385 config BR2_LINUX_COPYTO
386 string "also copy the image to..."
387 depends on BR2_LINUX_COPY
390 Copy kernel to secondary location