From bab48cfa3616f8d33964d21a17a5b392df014188 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 24 Jul 2026 08:29:53 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9B=85=20Sync=202026-07-24=2008:29:53?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- virtualdog-efi/Makefile | 45 +++++++++++++++++++++++++++++++++++++++++ virtualdog/Makefile | 12 +++-------- 2 files changed, 48 insertions(+), 9 deletions(-) create mode 100644 virtualdog-efi/Makefile diff --git a/virtualdog-efi/Makefile b/virtualdog-efi/Makefile new file mode 100644 index 00000000..3dc68184 --- /dev/null +++ b/virtualdog-efi/Makefile @@ -0,0 +1,45 @@ +# +# Copyright (C) 2026 +# +# This is free software, licensed under the GNU General Public License v3. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=virtualdog-efi +PKG_VERSION:=0.0.1 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=https://github.com/Carseason/openwrt-packages/releases/download/prebuilt/ +PKG_HASH:=skip +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) +PKGARCH:=all + +include $(INCLUDE_DIR)/package.mk + +define Package/$(PKG_NAME) + SECTION:=net + CATEGORY:=Network + SUBMENU:=Web Servers/Proxies + TITLE:=VirtualDog ARM64 UEFI firmware + DEPENDS:=@(x86_64||aarch64) + URL:=https://example.invalid/virtualdog +endef + +define Package/$(PKG_NAME)/description + VirtualDog ARM64 UEFI firmware for qemu-system-aarch64 virtual machines. +endef + +define Build/Configure +endef + +define Build/Compile +endef + +define Package/$(PKG_NAME)/install + $(INSTALL_DIR) $(1)/usr/share/virtualdog + $(INSTALL_DATA) $(PKG_BUILD_DIR)/QEMU_EFI.fd $(1)/usr/share/virtualdog/QEMU_EFI.fd +endef + +$(eval $(call BuildPackage,$(PKG_NAME))) diff --git a/virtualdog/Makefile b/virtualdog/Makefile index f79df6a6..ca59eb8f 100644 --- a/virtualdog/Makefile +++ b/virtualdog/Makefile @@ -7,8 +7,8 @@ include $(TOPDIR)/rules.mk PKG_NAME:=virtualdog -PKG_VERSION:=0.0.3 -PKG_RELEASE:=3 +PKG_VERSION:=0.0.4 +PKG_RELEASE:=4 # Point this at the released binary tarball when you publish builds. PKG_SOURCE:=$(PKG_NAME)-binary-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://github.com/Carseason/openwrt-packages/releases/download/prebuilt/ @@ -22,18 +22,12 @@ include $(INCLUDE_DIR)/package.mk PKG_ARCH_virtualdog:=$(ARCH) -ifeq ($(ARCH),x86_64) - VIRTUALDOG_QEMU_PKG:=qemu-x86_64-softmmu -else ifeq ($(ARCH),aarch64) - VIRTUALDOG_QEMU_PKG:=qemu-aarch64-softmmu -endif - define Package/$(PKG_NAME) SECTION:=net CATEGORY:=Network SUBMENU:=Web Servers/Proxies TITLE:=VirtualDog - DEPENDS:=@(x86_64||aarch64) +$(VIRTUALDOG_QEMU_PKG) +qemu-img +qemu-bridge-helper +kmod-tun + DEPENDS:=@(x86_64||aarch64) +qemu-x86_64-softmmu +qemu-aarch64-softmmu +qemu-img +qemu-bridge-helper +kmod-tun +virtualdog-efi URL:=https://example.invalid/virtualdog endef