This patch provides an image suitable for the alix2*, alix3, and alix6 headless ...
[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_EXT4FS || 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 if TARGET_x86_alix2
25         default 115200 if TARGET_x86_geos
26         default 38400
27
28 config X86_GRUB_BOOTOPTS
29         string "Extra kernel boot options"
30         depends X86_GRUB_IMAGES
31         default "xencons=hvc" if TARGET_x86_xen_domu
32         help
33           If you don't know, just leave it blank.
34
35 config X86_VDI_IMAGES
36         bool "Build VirtualBox image files (VDI)"
37         depends X86_GRUB_IMAGES
38         depends TARGET_x86_generic
39         depends TARGET_ROOTFS_EXT4FS
40         select PACKAGE_kmod-pcnet32
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_EXT4FS
47         select PACKAGE_kmod-e1000
48
49
50 config OLPC_BOOTSCRIPT_IMAGES
51         bool "Build images with bootscript"
52         depends TARGET_x86_olpc
53         depends TARGET_ROOTFS_EXT4FS || TARGET_ROOTFS_ISO || TARGET_ROOTFS_JFFS2 || TARGET_ROOTFS_SQUASHFS
54
55
56 config TARGET_IMAGES_PAD
57         bool "Pad images to filesystem size (for JFFS2)"
58         depends OLPC_BOOTSCRIPT_IMAGES || X86_GRUB_IMAGES
59         default y
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/vda2" if TARGET_x86_kvm_guest
70         default "/dev/xvda2" if TARGET_x86_xen_domu
71         default "/dev/sda2" if ! (TARGET_x86_kvm_guest || TARGET_x86_xen_domu)
72         help
73           The root partition on the final device.  If you don't know,
74           you probably want the default (/dev/sda2).