[openwrt/openwrt] build: enable vmdk/vmware images for arm64 target

LEDE Commits lede-commits at lists.infradead.org
Tue Jun 13 07:50:08 PDT 2023


ynezz pushed a commit to openwrt/openwrt.git, branch openwrt-23.05:
https://git.openwrt.org/0bedcbb9ffd10158760dc3b57e6650ffaa562f26

commit 0bedcbb9ffd10158760dc3b57e6650ffaa562f26
Author: Mathew McBride <matt at traverse.com.au>
AuthorDate: Wed Jan 12 05:53:55 2022 +0000

    build: enable vmdk/vmware images for arm64 target
    
    This is useful for VMware's ARM64 products, e.g Fusion for M1/ARM Macs.
    
    Signed-off-by: Mathew McBride <matt at traverse.com.au>
    (cherry picked from commit f899e0e024825861e129b0e8fbfb31c1d614273a)
---
 config/Config-images.in       | 2 +-
 target/linux/armvirt/Makefile | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/config/Config-images.in b/config/Config-images.in
index 396f1dd3e3..d92c31ec5f 100644
--- a/config/Config-images.in
+++ b/config/Config-images.in
@@ -267,7 +267,7 @@ menu "Target Images"
 
 	config VMDK_IMAGES
 		bool "Build VMware image files (VMDK)"
-		depends on TARGET_x86
+		depends on TARGET_x86 || TARGET_armvirt
 		depends on GRUB_IMAGES || GRUB_EFI_IMAGES
 		select PACKAGE_kmod-e1000
 
diff --git a/target/linux/armvirt/Makefile b/target/linux/armvirt/Makefile
index 34e032fe9e..04ff914b96 100644
--- a/target/linux/armvirt/Makefile
+++ b/target/linux/armvirt/Makefile
@@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
 BOARD:=armvirt
 BOARDNAME:=QEMU ARM Virtual Machine
 FEATURES:=fpu pci pcie rtc usb boot-part rootfs-part
-FEATURES+=cpiogz ext4 ramdisk squashfs targz
+FEATURES+=cpiogz ext4 ramdisk squashfs targz vmdk
 
 KERNEL_PATCHVER:=5.15
 




More information about the lede-commits mailing list