8467f48a4f283203559c2fbdd228314a0425a80b
[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 || TARGET_x86_geos)
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_kvm_guest || TARGET_x86_xen_domu)
18 default "ttyS0" if ! (TARGET_x86_kvm_guest || TARGET_x86_xen_domu)
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 default 115200 if TARGET_x86_geos
26
27 config X86_GRUB_BOOTOPTS
28 string "Extra kernel boot options"
29 depends X86_GRUB_IMAGES
30 default "xencons=hvc" if TARGET_x86_xen_domu
31 help
32 If you don't know, just leave it blank.
33
34 config X86_VDI_IMAGES
35 bool "Build VirtualBox image files (VDI)"
36 depends X86_GRUB_IMAGES
37 depends TARGET_x86_generic
38 depends TARGET_ROOTFS_EXT2FS
39 select PACKAGE_kmod-pcnet32
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
48
49 config OLPC_BOOTSCRIPT_IMAGES
50 bool "Build images with bootscript"
51 depends TARGET_x86_olpc
52 depends TARGET_ROOTFS_EXT2FS || TARGET_ROOTFS_ISO || TARGET_ROOTFS_JFFS2 || TARGET_ROOTFS_SQUASHFS
53
54
55 config TARGET_IMAGES_PAD
56 bool "Pad images to filesystem size (for JFFS2)"
57 depends OLPC_BOOTSCRIPT_IMAGES || X86_GRUB_IMAGES
58
59 config TARGET_KERNEL_PARTSIZE
60 int "Kernel partition size (in MB)"
61 depends OLPC_BOOTSCRIPT_IMAGES || X86_GRUB_IMAGES
62 default 4
63
64 config TARGET_ROOTFS_PARTNAME
65 string "Root partition on target device"
66 depends OLPC_BOOTSCRIPT_IMAGES || X86_GRUB_IMAGES
67 default "/dev/vda2" if TARGET_x86_kvm_guest
68 default "/dev/xvda2" if TARGET_x86_xen_domu
69 default "/dev/sda2" if ! (TARGET_x86_kvm_guest || TARGET_x86_xen_domu)
70 help
71 The root partition on the final device. If you don't know,
72 you probably want the default (/dev/sda2).