* adds support for Artec Thincan
[openwrt/openwrt.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_grub
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)
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_kvm_guest || TARGET_x86_xen_domu)
33 default "ttyS0" if ! (TARGET_x86_kvm_guest || 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
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_VDI_IMAGES
51 bool "Build VirtualBox image files (VDI)"
52 depends X86_GRUB_IMAGES
53 depends TARGET_x86_generic
54 depends TARGET_ROOTFS_EXT4FS
55 select PACKAGE_kmod-pcnet32
56
57 config X86_VMDK_IMAGES
58 bool "Build VMware image files (VMDK)"
59 depends X86_GRUB_IMAGES
60 depends TARGET_x86_generic
61 depends TARGET_ROOTFS_EXT4FS
62 select PACKAGE_kmod-e1000
63
64
65 config OLPC_BOOTSCRIPT_IMAGES
66 bool "Build images with bootscript"
67 depends TARGET_x86_olpc
68 depends TARGET_ROOTFS_EXT4FS || TARGET_ROOTFS_ISO || TARGET_ROOTFS_JFFS2 || TARGET_ROOTFS_SQUASHFS
69
70
71 config TARGET_IMAGES_PAD
72 bool "Pad images to filesystem size (for JFFS2)"
73 depends OLPC_BOOTSCRIPT_IMAGES || X86_GRUB_IMAGES
74 default y
75
76 config TARGET_KERNEL_PARTSIZE
77 int "Kernel partition size (in MB)"
78 depends OLPC_BOOTSCRIPT_IMAGES || X86_GRUB_IMAGES
79 default 4
80
81 config TARGET_ROOTFS_PARTNAME
82 string "Root partition on target device"
83 depends OLPC_BOOTSCRIPT_IMAGES || X86_GRUB_IMAGES
84 default "/dev/vda2" if TARGET_x86_kvm_guest
85 default "/dev/xvda2" if TARGET_x86_xen_domu
86 default "/dev/sda2" if ! (TARGET_x86_kvm_guest || TARGET_x86_xen_domu)
87 help
88 The root partition on the final device. If you don't know,
89 you probably want the default (/dev/sda2).