aboutsummaryrefslogtreecommitdiff
path: root/roms
diff options
context:
space:
mode:
authorLaszlo Ersek <lersek@redhat.com>2020-09-07 22:13:02 +0200
committerPhilippe Mathieu-Daudé <philmd@redhat.com>2020-09-13 23:03:14 +0200
commitec87b5daca761039bbcf781eedbe4987f790836f (patch)
tree3ad2211fcab1f05045f4641a61f5bc8b84e20529 /roms
parent8befcde37b618bec89445bad6d06cf58ac780753 (diff)
downloadqemu-ec87b5daca761039bbcf781eedbe4987f790836f.zip
qemu-ec87b5daca761039bbcf781eedbe4987f790836f.tar.gz
qemu-ec87b5daca761039bbcf781eedbe4987f790836f.tar.bz2
roms/efirom, tests/uefi-test-tools: update edk2's own submodules first
In edk2 commit 06033f5abad3 ("BaseTools: Make brotli a submodule", 2020-04-16), part of edk2-stable202005, the Brotli compressor / decompressor source code that edk2 had flattened into BaseTools was replaced with a git submodule. This means we have to initialize edk2's own submodules before building BaseTools not just in "roms/Makefile.edk2", but in "roms/Makefile" (for the sake of the "efirom" target) and "tests/uefi-test-tools/Makefile" as well. Right now this patch is effectively a no-op; it will become meaningful after we move the edk2 submodule to edk2-stable202008. Cc: Philippe Mathieu-Daudé <philmd@redhat.com> Ref: https://bugs.launchpad.net/qemu/+bug/1852196 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20200908072939.30178-3-lersek@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'roms')
-rw-r--r--roms/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/roms/Makefile b/roms/Makefile
index 8cafced..d3a3228 100644
--- a/roms/Makefile
+++ b/roms/Makefile
@@ -138,6 +138,7 @@ build-efi-roms: build-pxe-roms
# efirom
#
edk2-basetools:
+ cd edk2/BaseTools && git submodule update --init --force
$(MAKE) -C edk2/BaseTools \
PYTHON_COMMAND=$${EDK2_PYTHON_COMMAND:-python3} \
EXTRA_OPTFLAGS='$(EDK2_BASETOOLS_OPTFLAGS)' \