From 50cf82d7a79cef9236a743882174349c2e73fc06 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Tue, 28 Mar 2023 11:04:29 +0200 Subject: [PATCH] add standalone mm --- edk2-build.fedora.platforms | 11 +++++++++++ edk2.spec | 3 +++ 2 files changed, 14 insertions(+) diff --git a/edk2-build.fedora.platforms b/edk2-build.fedora.platforms index 89da14f..59ad88e 100644 --- a/edk2-build.fedora.platforms +++ b/edk2-build.fedora.platforms @@ -27,6 +27,17 @@ dest = Fedora/drivers cpy1 = RISCV64/Ext4Dxe.efi ext4riscv64.efi +##################################################################### +# arm standalone mm + +[build.standalone.mm.aa64] +conf = Platform/StandaloneMm/PlatformStandaloneMmPkg/PlatformStandaloneMmRpmb.dsc +arch = AARCH64 +plat = MmStandaloneRpmb +dest = Fedora/aarch64 +cpy1 = FV/BL32_AP_MM.fd + + ##################################################################### # loongarch builds diff --git a/edk2.spec b/edk2.spec index 0cb0739..d51dc77 100644 --- a/edk2.spec +++ b/edk2.spec @@ -576,6 +576,9 @@ done %{_datadir}/%{name}/aarch64/QEMU_EFI.fd %{_datadir}/%{name}/aarch64/QEMU_EFI.silent.fd %{_datadir}/%{name}/aarch64/QEMU_VARS.fd +%if %{defined fedora} +%{_datadir}/%{name}/aarch64/BL32_AP_MM.fd +%endif %{_datadir}/qemu/firmware/50-edk2-aarch64.json %{_datadir}/qemu/firmware/51-edk2-aarch64-verbose.json # endif build_aarch64