target/x86: cleanup image config options
[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 help
40 Requires VBoxManage installed on the build system.
41
42 config X86_VMDK_IMAGES
43 bool "Build VMware image files (VMDK)"
44 depends X86_GRUB_IMAGES
45 depends TARGET_x86_generic
46 depends TARGET_ROOTFS_EXT2FS
47 select PACKAGE_kmod-e1000
48 help
49 Requires qemu-img installed on the build system.
50
51
52 config OLPC_BOOTSCRIPT_IMAGES
53 bool "Build images with bootscript"
54 depends TARGET_x86_olpc
55 depends TARGET_ROOTFS_EXT2FS || TARGET_ROOTFS_ISO || TARGET_ROOTFS_JFFS2 || TARGET_ROOTFS_SQUASHFS
56
57
58 config TARGET_IMAGES_PAD
59 bool "Pad images to filesystem size (for JFFS2)"
60 depends OLPC_BOOTSCRIPT_IMAGES || X86_GRUB_IMAGES
61
62 config TARGET_KERNEL_PARTSIZE
63 int "Kernel partition size (in MB)"
64 depends OLPC_BOOTSCRIPT_IMAGES || X86_GRUB_IMAGES
65 default 4
66
67 config TARGET_ROOTFS_PARTNAME
68 string "Root partition on target device"
69 depends OLPC_BOOTSCRIPT_IMAGES || X86_GRUB_IMAGES
70 default "/dev/xvda2" if TARGET_x86_xen_domu
71 default "/dev/sda2"
72 help
73 The root partition on the final device. If you don't know,
74 you probably want the default (/dev/sda2).