[x86] make console port editable through menuconfig, gzip ext2 images, add suitable...
[openwrt/svn-archive/archive.git] / target / linux / x86 / image / Config.in
1 config X86_GRUB_IMAGES
2 bool "Build GRUB images (Linux x86 or x86_64 host only)"
3 depends TARGET_x86 && !TARGET_x86_olpc
4 depends TARGET_ROOTFS_EXT2FS || TARGET_ROOTFS_JFFS2 || TARGET_ROOTFS_SQUASHFS || TARGET_ROOTFS_ISO
5 select PACKAGE_grub
6 default y
7
8 config X86_GRUB_IMAGES_PAD
9 bool "Pad GRUB images to filesystem size (for JFFS2)"
10 depends X86_GRUB_IMAGES
11
12 config X86_GRUB_CONSOLE
13 string
14 prompt "Serial port device"
15 depends X86_GRUB_IMAGES
16 default "hvc0" if TARGET_x86_xen_domu
17 default "ttyS0" if ! TARGET_x86_xen_domu
18
19 config X86_GRUB_BAUDRATE
20 int "Serial port baud rate"
21 depends X86_GRUB_IMAGES
22 default 38400
23
24 config X86_GRUB_KERNELPART
25 int "Kernel partition size (in MB)"
26 depends X86_GRUB_IMAGES
27 default 4
28
29 config X86_GRUB_ROOTPART
30 string
31 prompt "Root partition on target device" if X86_GRUB_IMAGES
32 default "/dev/xvda2" if TARGET_x86_xen_domu
33 default "/dev/sda2" if ! TARGET_x86_xen_domu
34 help
35 The root partition on the final device. If you don't know,
36 you probably want the default (/dev/sda2).
37
38 config X86_GRUB_BOOTOPTS
39 string
40 prompt "Extra kernel boot options" if X86_GRUB_IMAGES
41 default "xencons=hvc" if TARGET_x86_xen_domu
42 default "" if ! TARGET_x86_xen_domu
43 help
44 If you don't know, just leave it blank.
45
46
47 config X86_VDI_IMAGES
48 bool "Build VirtualBox image files (VDI). Requires VBoxManage"
49 depends TARGET_x86_generic
50 depends TARGET_ROOTFS_EXT2FS
51 depends X86_GRUB_IMAGES
52 select PACKAGE_kmod-pcnet32
53
54 config X86_VMDK_IMAGES
55 bool "Build VMware image files (VMDK). Requires qemu-img"
56 depends TARGET_x86_generic
57 depends TARGET_ROOTFS_EXT2FS
58 depends X86_GRUB_IMAGES
59 select PACKAGE_kmod-e1000
60
61 config OLPC_BOOTSCRIPT_IMAGES
62 bool "Build images with bootscript"
63 depends TARGET_x86_olpc
64 depends TARGET_ROOTFS_EXT2FS || TARGET_ROOTFS_JFFS2 || TARGET_ROOTFS_SQUASHFS || TARGET_ROOTFS_ISO
65 default y
66
67 config OLPC_BOOTSCRIPT_IMAGES_PAD
68 bool "Pad bootscript images to filesystem size (for JFFS2)"
69 depends OLPC_BOOTSCRIPT_IMAGES
70
71 config OLPC_BOOTSCRIPT_KERNELPART
72 int "Kernel partition size (in MB)"
73 depends OLPC_BOOTSCRIPT_IMAGES
74 default 4
75
76 config OLPC_BOOTSCRIPT_ROOTPART
77 string
78 prompt "Root partition on target device" if OLPC_BOOTSCRIPT_IMAGES
79 default "/dev/sda2"
80 help
81 The root partition on the final device. If you don't know,
82 you probably want the default (/dev/sda2).
83