[backfire] merge [21362:21365] & [21369]
[openwrt-10.03/.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_ISO || TARGET_ROOTFS_JFFS2 || TARGET_ROOTFS_SQUASHFS
5         select PACKAGE_grub
6         default y
7
8 config X86_GRUB_CONSOLE
9         bool "Use Console Terminal (in addition to Serial)"
10         depends X86_GRUB_IMAGES
11         default n if (TARGET_x86_generic_Soekris45xx || TARGET_x86_generic_Soekris48xx)
12
13 config X86_GRUB_SERIAL
14         string "Serial port device"
15         depends X86_GRUB_IMAGES
16         default "hvc0" if TARGET_x86_xen_domu
17         default "ttyS0"
18
19 config X86_GRUB_BAUDRATE
20         int "Serial port baud rate"
21         depends X86_GRUB_IMAGES
22         default 19200 if TARGET_x86_generic_Soekris45xx || TARGET_x86_generic_Soekris48xx
23         default 38400
24
25 config X86_GRUB_BOOTOPTS
26         string "Extra kernel boot options"
27         depends X86_GRUB_IMAGES
28         default "xencons=hvc" if TARGET_x86_xen_domu
29         help
30           If you don't know, just leave it blank.
31
32 config X86_VDI_IMAGES
33         bool "Build VirtualBox image files (VDI)"
34         depends X86_GRUB_IMAGES
35         depends TARGET_x86_generic
36         depends TARGET_ROOTFS_EXT2FS
37         select PACKAGE_kmod-pcnet32
38         help
39           Requires VBoxManage installed on the build system.
40
41 config X86_VMDK_IMAGES
42         bool "Build VMware image files (VMDK)"
43         depends X86_GRUB_IMAGES
44         depends TARGET_x86_generic
45         depends TARGET_ROOTFS_EXT2FS
46         select PACKAGE_kmod-e1000
47         help
48           Requires qemu-img installed on the build system.
49
50
51 config OLPC_BOOTSCRIPT_IMAGES
52         bool "Build images with bootscript"
53         depends TARGET_x86_olpc
54         depends TARGET_ROOTFS_EXT2FS || TARGET_ROOTFS_ISO || TARGET_ROOTFS_JFFS2 || TARGET_ROOTFS_SQUASHFS
55
56
57 config TARGET_IMAGES_PAD
58         bool "Pad images to filesystem size (for JFFS2)"
59         depends OLPC_BOOTSCRIPT_IMAGES || X86_GRUB_IMAGES
60
61 config TARGET_KERNEL_PARTSIZE
62         int "Kernel partition size (in MB)"
63         depends OLPC_BOOTSCRIPT_IMAGES || X86_GRUB_IMAGES
64         default 4
65
66 config TARGET_ROOTFS_PARTNAME
67         string "Root partition on target device"
68         depends OLPC_BOOTSCRIPT_IMAGES || X86_GRUB_IMAGES
69         default "/dev/xvda2" if TARGET_x86_xen_domu
70         default "/dev/sda2"
71         help
72           The root partition on the final device.  If you don't know,
73           you probably want the default (/dev/sda2).