source: trunk/target/linux/x86/image/Config.in @ 21364

Last change on this file since 21364 was 21364, checked in by nico, 6 years ago

target/x86: use common config items for options shared between generic and olpc targets

  • Property svn:eol-style set to native
File size: 2.5 KB
Line 
1config 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
8config X86_GRUB_CONSOLE
9    bool
10    depends X86_GRUB_IMAGES
11    prompt "Use Console Terminal (in addition to Serial)"
12    default n if TARGET_x86_generic_Soekris48xx || TARGET_x86_generic_Soekris45xx || TARGET_x86_net5501
13    default y if ! (TARGET_x86_generic_Soekris48xx || TARGET_x86_generic_Soekris45xx || TARGET_x86_net5501)
14
15config X86_GRUB_SERIAL
16    string
17    prompt "Serial port device"
18    depends X86_GRUB_IMAGES
19    default "hvc0" if TARGET_x86_xen_domu
20    default "ttyS0" if ! TARGET_x86_xen_domu
21
22config X86_GRUB_BAUDRATE
23    int "Serial port baud rate"
24    depends X86_GRUB_IMAGES
25    default 19200 if TARGET_x86_generic_Soekris48xx || TARGET_x86_generic_Soekris45xx || TARGET_x86_net5501
26    default 38400 if ! (TARGET_x86_generic_Soekris48xx || TARGET_x86_generic_Soekris45xx || TARGET_x86_net5501)
27
28config X86_GRUB_BOOTOPTS
29    string
30    prompt "Extra kernel boot options" if X86_GRUB_IMAGES
31    default "xencons=hvc" if TARGET_x86_xen_domu
32    default "" if ! TARGET_x86_xen_domu
33    help
34        If you don't know, just leave it blank.
35
36
37config X86_VDI_IMAGES
38    bool "Build VirtualBox image files (VDI). Requires VBoxManage"
39    depends TARGET_x86_generic
40    depends TARGET_ROOTFS_EXT2FS
41    depends X86_GRUB_IMAGES
42    select PACKAGE_kmod-pcnet32
43
44config X86_VMDK_IMAGES
45    bool "Build VMware image files (VMDK). Requires qemu-img"
46    depends TARGET_x86_generic
47    depends TARGET_ROOTFS_EXT2FS
48    depends X86_GRUB_IMAGES
49    select PACKAGE_kmod-e1000
50
51config OLPC_BOOTSCRIPT_IMAGES
52    bool "Build images with bootscript"
53    depends TARGET_x86_olpc
54    depends TARGET_ROOTFS_EXT2FS || TARGET_ROOTFS_JFFS2 || TARGET_ROOTFS_SQUASHFS || TARGET_ROOTFS_ISO
55    default y
56
57
58config TARGET_IMAGES_PAD
59        bool "Pad images to filesystem size (for JFFS2)"
60        depends OLPC_BOOTSCRIPT_IMAGES || X86_GRUB_IMAGES
61
62config TARGET_KERNEL_PARTSIZE
63        int "Kernel partition size (in MB)"
64        depends OLPC_BOOTSCRIPT_IMAGES || X86_GRUB_IMAGES
65        default 4
66
67config 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).
Note: See TracBrowser for help on using the repository browser.