rationalize target image options
[openwrt/openwrt.git] / target / linux / x86 / image / Config.in
1 config X86_ETHERBOOT_IMAGES
2 bool "Build Etherboot image"
3 depends on 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 on 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 on TARGET_x86 && !(TARGET_x86_olpc || TARGET_x86_rdc)
19 depends on 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 on 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 on 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 on 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 on 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 on 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 on X86_GRUB_IMAGES
60 depends on TARGET_ROOTFS_EXT4FS
61 select PACKAGE_kmod-pcnet32
62
63 config X86_VMDK_IMAGES
64 bool "Build VMware image files (VMDK)"
65 depends on X86_GRUB_IMAGES
66 depends on TARGET_ROOTFS_EXT4FS
67 select PACKAGE_kmod-e1000
68
69
70 config OLPC_BOOTSCRIPT_IMAGES
71 bool "Build images with bootscript"
72 depends on TARGET_x86_olpc
73 depends on TARGET_ROOTFS_EXT4FS || TARGET_ROOTFS_ISO || TARGET_ROOTFS_JFFS2 || TARGET_ROOTFS_SQUASHFS
74 default TARGET_x86_olpc
75
76
77 config TARGET_IMAGES_PAD
78 bool "Pad images to filesystem size (for JFFS2)"
79 depends on OLPC_BOOTSCRIPT_IMAGES || X86_GRUB_IMAGES
80
81 config TARGET_IMAGES_GZIP
82 bool "GZip images"
83 depends on TARGET_IMAGES_PAD || TARGET_ROOTFS_EXT4FS
84 default y
85
86 config TARGET_KERNEL_PARTSIZE
87 int "Kernel partition size (in MB)"
88 depends on OLPC_BOOTSCRIPT_IMAGES || X86_GRUB_IMAGES
89 default 4
90
91 config TARGET_ROOTFS_PARTNAME
92 string "Root partition on target device"
93 depends on OLPC_BOOTSCRIPT_IMAGES || X86_GRUB_IMAGES
94 default "/dev/vda2" if TARGET_x86_kvm_guest
95 default "/dev/xvda2" if TARGET_x86_xen_domu
96 default "/dev/sda2" if ! (TARGET_x86_kvm_guest || TARGET_x86_xen_domu)
97 help
98 The root partition on the final device. If you don't know,
99 you probably want the default (/dev/sda2).