Skip to content

Commit

Permalink
edk2: add microvm build
Browse files Browse the repository at this point in the history
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
  • Loading branch information
kraxel committed Mar 15, 2022
1 parent 4911df8 commit 3ce48e4
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions roms/Makefile.edk2
Expand Up @@ -33,6 +33,7 @@ flashdevs := \
i386-secure-code \
x86_64-code \
x86_64-secure-code \
x86_64-microvm \
\
arm-vars \
i386-vars
Expand Down Expand Up @@ -145,6 +146,16 @@ submodules:
-D SMM_REQUIRE
cp edk2/Build/Ovmf3264/$(target)_$(call toolchain,x86_64)/FV/OVMF_CODE.fd $@

../pc-bios/edk2-x86_64-microvm.fd: submodules
+./edk2-build.sh \
x86_64 \
--arch=X64 \
--platform=OvmfPkg/Microvm/MicrovmX64.dsc \
-D NETWORK_IP6_ENABLE \
-D NETWORK_HTTP_BOOT_ENABLE \
-D NETWORK_TLS_ENABLE
cp edk2/Build/MicrovmX64/$(target)_$(call toolchain,x86_64)/FV/MICROVM.fd $@

../pc-bios/edk2-arm-vars.fd: ../pc-bios/edk2-arm-code.fd
cp edk2/Build/ArmVirtQemu-ARM/$(target)_$(call toolchain,arm)/FV/QEMU_VARS.fd \
$@
Expand Down

0 comments on commit 3ce48e4

Please sign in to comment.