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