summaryrefslogtreecommitdiff
path: root/config/Config-images.in
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2014-01-07 10:18:55 +0000
committerImre Kaloz <kaloz@openwrt.org>2014-01-07 10:18:55 +0000
commitcc49f7c6e9cc171e2e7cafea7960e1d55bead484 (patch)
tree01c0d099aad3cfff46b65e08a4c8aa3b575ab984 /config/Config-images.in
parent481c01136e0bf2a24c4673a661c156a16a04292e (diff)
downloadmtk-20170518-cc49f7c6e9cc171e2e7cafea7960e1d55bead484.zip
mtk-20170518-cc49f7c6e9cc171e2e7cafea7960e1d55bead484.tar.gz
mtk-20170518-cc49f7c6e9cc171e2e7cafea7960e1d55bead484.tar.bz2
move most of the x86 image generation options to the main file
Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 39206
Diffstat (limited to 'config/Config-images.in')
-rw-r--r--config/Config-images.in81
1 files changed, 80 insertions, 1 deletions
diff --git a/config/Config-images.in b/config/Config-images.in
index a744fc7..ba9c6d8 100644
--- a/config/Config-images.in
+++ b/config/Config-images.in
@@ -133,17 +133,96 @@ menu "Target Images"
prompt "journal size" if TARGET_ROOTFS_UBIFS
default ""
+ config GRUB_IMAGES
+ bool "Build GRUB images (Linux x86 or x86_64 host only)"
+ depends on TARGET_x86 && !(TARGET_x86_olpc || TARGET_x86_rdc)
+ depends on TARGET_ROOTFS_EXT4FS || TARGET_ROOTFS_ISO || TARGET_ROOTFS_JFFS2 || TARGET_ROOTFS_SQUASHFS
+ select PACKAGE_grub2
+ default y
+
+ config GRUB_CONSOLE
+ bool "Use Console Terminal (in addition to Serial)"
+ depends on GRUB_IMAGES
+ default n if (TARGET_x86_generic_Soekris45xx || TARGET_x86_generic_Soekris48xx || TARGET_x86_net5501 || TARGET_x86_geos || TARGET_x86_alix2)
+ default y
+
+ config GRUB_SERIAL
+ string "Serial port device"
+ depends on GRUB_IMAGES
+ default "hvc0" if TARGET_x86_xen_domu
+ default "ttyS0" if ! TARGET_x86_xen_domu
+
+ config GRUB_BAUDRATE
+ int "Serial port baud rate"
+ depends on GRUB_IMAGES
+ default 19200 if TARGET_x86_generic_Soekris45xx || TARGET_x86_generic_Soekris48xx || TARGET_x86_net5501
+ default 38400 if TARGET_x86_alix2
+ default 115200 if TARGET_x86_geos || TARGET_x86_kvm_guest
+ default 38400
+
+ config GRUB_BOOTOPTS
+ string "Extra kernel boot options"
+ depends on GRUB_IMAGES
+ default "xencons=hvc" if TARGET_x86_xen_domu
+ help
+ If you don't know, just leave it blank.
+
+ config GRUB_TIMEOUT
+ string "Seconds to wait before booting the default entry"
+ depends on GRUB_IMAGES
+ default "5"
+ help
+ If you don't know, 5 seconds is a reasonable default.
+
+ config VDI_IMAGES
+ bool "Build VirtualBox image files (VDI)"
+ depends on TARGET_x86
+ select GRUB_IMAGES
+ select TARGET_ROOTFS_EXT4FS
+ select PACKAGE_kmod-pcnet32
+
+ config VMDK_IMAGES
+ bool "Build VMware image files (VMDK)"
+ depends on TARGET_x86
+ select GRUB_IMAGES
+ select TARGET_ROOTFS_EXT4FS
+ select PACKAGE_kmod-e1000
+
+ config TARGET_IMAGES_PAD
+ bool "Pad images to filesystem size (for JFFS2)"
+ depends on OLPC_BOOTSCRIPT_IMAGES || GRUB_IMAGES
+
+ config TARGET_IMAGES_GZIP
+ bool "GZip images"
+ depends on TARGET_IMAGES_PAD || TARGET_ROOTFS_EXT4FS
+ default y
+
comment "Image Options"
source "target/linux/*/image/Config.in"
+ config TARGET_KERNEL_PARTSIZE
+ int "Kernel partition size (in MB)"
+ depends on OLPC_BOOTSCRIPT_IMAGES || GRUB_IMAGES
+ default 4
+
config TARGET_ROOTFS_PARTSIZE
int "Root filesystem partition size (in MB)"
- depends on X86_GRUB_IMAGES || TARGET_ROOTFS_EXT4FS || TARGET_rb532
+ depends on GRUB_IMAGES || TARGET_ROOTFS_EXT4FS || TARGET_rb532
default 48
help
Allows you to change the root filesystem partition size
+ config TARGET_ROOTFS_PARTNAME
+ string "Root partition on target device"
+ depends on OLPC_BOOTSCRIPT_IMAGES || GRUB_IMAGES
+ default "/dev/vda2" if TARGET_x86_kvm_guest
+ default "/dev/xvda2" if TARGET_x86_xen_domu
+ default "/dev/sda2" if ! (TARGET_x86_kvm_guest || TARGET_x86_xen_domu)
+ help
+ The root partition on the final device. If you don't know,
+ you probably want the default (/dev/sda2).
+
config TARGET_ROOTFS_MAXINODE
int "Maximum number of inodes in root filesystem"
depends on TARGET_ROOTFS_EXT4FS