x86: remove grub-legacy
[openwrt/staging/chunkeey.git] / target / linux / x86 / image / Config.in
1 config X86_ETHERBOOT_IMAGES
2 bool "Build Etherboot image"
3 depends TARGET_x86 && TARGET_x86_thincan_DBE61
4 default y
5 help
6 Builds network bootable image for ThinCan DBE61 (Etherboot BIOS)
7
8 config X86_ETHERBOOT_BOOTOPTS
9 string "Extra kernel boot options"
10 depends X86_ETHERBOOT_IMAGES
11 default "ip=dhcp nbdport=2000 " if TARGET_ROOTFS_SQUASHFS
12 default "ip=dhcp root=/dev/nfs nfsroot=192.168.0.1:/srv/dbe61"
13 help
14 Kernel arguments to pass to the kernel eg. NFS root location etc.
15
16 config X86_GRUB_IMAGES
17 bool "Build GRUB images (Linux x86 or x86_64 host only)"
18 depends TARGET_x86 && !TARGET_x86_olpc
19 depends TARGET_ROOTFS_EXT4FS || TARGET_ROOTFS_ISO || TARGET_ROOTFS_JFFS2 || TARGET_ROOTFS_SQUASHFS
20 select PACKAGE_grub2
21 default y
22
23 config X86_GRUB_CONSOLE
24 bool "Use Console Terminal (in addition to Serial)"
25 depends X86_GRUB_IMAGES
26 default n if (TARGET_x86_generic_Soekris45xx || TARGET_x86_generic_Soekris48xx || TARGET_x86_net5501 || TARGET_x86_geos || TARGET_x86_alix2)
27 default y
28
29 config X86_GRUB_SERIAL
30 string "Serial port device"
31 depends X86_GRUB_IMAGES
32 default "hvc0" if TARGET_x86_xen_domu
33 default "ttyS0" if ! TARGET_x86_xen_domu
34
35 config X86_GRUB_BAUDRATE
36 int "Serial port baud rate"
37 depends X86_GRUB_IMAGES
38 default 19200 if TARGET_x86_generic_Soekris45xx || TARGET_x86_generic_Soekris48xx || TARGET_x86_net5501
39 default 38400 if TARGET_x86_alix2
40 default 115200 if TARGET_x86_geos || TARGET_x86_kvm_guest
41 default 38400
42
43 config X86_GRUB_BOOTOPTS
44 string "Extra kernel boot options"
45 depends X86_GRUB_IMAGES
46 default "xencons=hvc" if TARGET_x86_xen_domu
47 help
48 If you don't know, just leave it blank.
49
50 config X86_GRUB_TIMEOUT
51 string "Seconds to wait before booting the default entry"
52 depends X86_GRUB_IMAGES
53 default "5"
54 help
55 If you don't know, 5 seconds is a reasonable default.
56
57 config X86_VDI_IMAGES
58 bool "Build VirtualBox image files (VDI)"
59 depends X86_GRUB_IMAGES
60 depends TARGET_x86
61 depends TARGET_ROOTFS_EXT4FS
62 select PACKAGE_kmod-pcnet32
63
64 config X86_VMDK_IMAGES
65 bool "Build VMware image files (VMDK)"
66 depends X86_GRUB_IMAGES
67 depends TARGET_x86
68 depends TARGET_ROOTFS_EXT4FS
69 select PACKAGE_kmod-e1000
70
71
72 config OLPC_BOOTSCRIPT_IMAGES
73 bool "Build images with bootscript"
74 depends TARGET_x86_olpc
75 depends TARGET_ROOTFS_EXT4FS || TARGET_ROOTFS_ISO || TARGET_ROOTFS_JFFS2 || TARGET_ROOTFS_SQUASHFS
76 default TARGET_x86_olpc
77
78
79 config TARGET_IMAGES_PAD
80 bool "Pad images to filesystem size (for JFFS2)"
81 depends OLPC_BOOTSCRIPT_IMAGES || X86_GRUB_IMAGES
82
83 config TARGET_IMAGES_GZIP
84 bool "GZip images"
85 depends TARGET_IMAGES_PAD || TARGET_ROOTFS_EXT4FS
86 default y
87
88 config TARGET_KERNEL_PARTSIZE
89 int "Kernel partition size (in MB)"
90 depends OLPC_BOOTSCRIPT_IMAGES || X86_GRUB_IMAGES
91 default 4
92
93 config TARGET_ROOTFS_PARTNAME
94 string "Root partition on target device"
95 depends OLPC_BOOTSCRIPT_IMAGES || X86_GRUB_IMAGES
96 default "/dev/vda2" if TARGET_x86_kvm_guest
97 default "/dev/xvda2" if TARGET_x86_xen_domu
98 default "/dev/sda2" if ! (TARGET_x86_kvm_guest || TARGET_x86_xen_domu)
99 help
100 The root partition on the final device. If you don't know,
101 you probably want the default (/dev/sda2).