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

Last change on this file since 19681 was 19681, checked in by jow, 7 years ago

[x86]

  • clean up menu.lst template
  • make grub usage of vt0 selectable in menuconfig
  • choose appropriate default baudrate for soekris devices
  • fix generation of grub menu for iso images
  • Property svn:eol-style set to native
File size: 2.9 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_IMAGES_PAD
9    bool "Pad GRUB images to filesystem size (for JFFS2)"
10    depends X86_GRUB_IMAGES
11
12config 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
19config 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
26config 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
32config X86_GRUB_KERNELPART
33    int "Kernel partition size (in MB)"
34    depends X86_GRUB_IMAGES
35    default 4
36
37config 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
46config 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
55config 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
62config 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
69config 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
75config OLPC_BOOTSCRIPT_IMAGES_PAD
76        bool "Pad bootscript images to filesystem size (for JFFS2)"
77        depends OLPC_BOOTSCRIPT_IMAGES
78
79config OLPC_BOOTSCRIPT_KERNELPART
80    int "Kernel partition size (in MB)"
81    depends OLPC_BOOTSCRIPT_IMAGES
82    default 4
83
84config 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
Note: See TracBrowser for help on using the repository browser.