Use VBoxManage instead of obsolete vditool to generate VirtualBox images.
[openwrt/staging/yousong.git] / target / linux / x86 / image / Config.in
index 4a36f63128b67c0e92ee008b4685bfd4c2a0abcb..ef7d0cd855b6d2bf5c8bc01c422756b8844c23fd 100644 (file)
@@ -2,6 +2,7 @@ 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
@@ -32,3 +33,18 @@ config X86_GRUB_BOOTOPTS
     default ""
     help
         If you don't know, just leave it blank.
+
+
+config X86_VDI_IMAGES
+    bool "Build VirtualBox image files (VDI). Requires VBoxManage"
+    depends TARGET_x86
+    depends TARGET_ROOTFS_EXT2FS
+    depends X86_GRUB_IMAGES
+    select PACKAGE_kmod-pcnet32
+
+config X86_VMDK_IMAGES
+    bool "Build VMware image files (VMDK). Requires qemu-img"
+    depends TARGET_x86
+    depends TARGET_ROOTFS_EXT2FS
+    depends X86_GRUB_IMAGES
+    select PACKAGE_kmod-e1000