config X86_GRUB_IMAGES
    bool "Build GRUB images (Linux x86 or x86_64 host only)"
    depends TARGET_x86
    depends TARGET_ROOTFS_EXT2FS || TARGET_ROOTFS_JFFS2 || TARGET_ROOTFS_SQUASHFS || TARGET_ROOTFS_ISO
	select PACKAGE_grub
    default y

config X86_GRUB_IMAGES_PAD
	bool "Pad GRUB images to filesystem size (for JFFS2)"
	depends X86_GRUB_IMAGES

config X86_GRUB_BAUDRATE
    int "Serial port baud rate"
    depends X86_GRUB_IMAGES
    default 38400

config X86_GRUB_KERNELPART
    int "Kernel partition size (in MB)"
    depends X86_GRUB_IMAGES
    default 4

config X86_GRUB_ROOTPART
    string
    prompt "Root partition on target device" if X86_GRUB_IMAGES
    default "/dev/hda2"
    help
        The root partition on the final device.  If you don't know,
        you probably want the default (/dev/hda2).

config X86_GRUB_BOOTOPTS
    string
    prompt "Extra kernel boot options" if X86_GRUB_IMAGES
    default ""
    help
        If you don't know, just leave it blank.


config X86_VDI_IMAGES
    bool "Build VirtualBox image files (VDI). Requires vditool"
    depends TARGET_x86
    depends TARGET_ROOTFS_EXT2FS
    depends X86_GRUB_IMAGES
    select PACKAGE_kmod-pcnet32


