From 2b397888bea6f0a4ad3d5f9debff3b2856333fa9 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Thu, 2 Mar 2023 12:48:56 +0100 Subject: [PATCH] add riscv build config --- edk2-build.fedora | 13 +++++++++++++ edk2-build.fedora.platforms | 8 ++++++++ 2 files changed, 21 insertions(+) diff --git a/edk2-build.fedora b/edk2-build.fedora index 5f14f9b..6b1edb8 100644 --- a/edk2-build.fedora +++ b/edk2-build.fedora @@ -171,6 +171,19 @@ cpy2 = FV/QEMU_EFI.fd QEMU_EFI-silent-pflash.raw pad2 = QEMU_EFI-silent-pflash.raw 64m +##################################################################### +# riscv + +[build.riscv.qemu] +conf = OvmfPkg/RiscVVirt/RiscVVirtQemu.dsc +arch = RISCV64 +plat = RiscVVirtQemu +dest = Fedora/riscv +cpy1 = FV/RISCV_VIRT.fd +cpy2 = FV/RISCV_VIRT.fd RISCV_VIRT.raw +pad1 = RISCV_VIRT.raw 32m + + ##################################################################### # 32-bit builds diff --git a/edk2-build.fedora.platforms b/edk2-build.fedora.platforms index 914aad8..89da14f 100644 --- a/edk2-build.fedora.platforms +++ b/edk2-build.fedora.platforms @@ -18,6 +18,14 @@ plat = Ext4Pkg dest = Fedora/drivers cpy1 = AARCH64/Ext4Dxe.efi ext4aa64.efi +[build.ext4.riscv64] +desc = ext4 driver +conf = Features/Ext4Pkg/Ext4Pkg.dsc +arch = RISCV64 +plat = Ext4Pkg +dest = Fedora/drivers +cpy1 = RISCV64/Ext4Dxe.efi ext4riscv64.efi + ##################################################################### # loongarch builds