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