From: Philippe Mathieu-Daudé Date: Mon, 18 Oct 2021 10:58:15 +0000 (+0200) Subject: roms/edk2: Only init brotli submodule to build BaseTools X-Git-Tag: v6.2.0-rc0~45^2~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b152229697c8e3ef2655d29488eadacde6b2b309;p=thirdparty%2Fqemu.git roms/edk2: Only init brotli submodule to build BaseTools Since EDK2 BaseTools only require the brotli submodule, we don't need to initialize other submodules to build it. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth Reviewed-by: Gerd Hoffmann Message-Id: <20211018105816.2663195-2-philmd@redhat.com> Signed-off-by: Richard Henderson --- diff --git a/roms/Makefile b/roms/Makefile index eeb5970348c..b967b53bb76 100644 --- a/roms/Makefile +++ b/roms/Makefile @@ -143,7 +143,8 @@ build-efi-roms: build-pxe-roms # efirom # edk2-basetools: - cd edk2/BaseTools && git submodule update --init --force + cd edk2/BaseTools && git submodule update --init --force \ + Source/C/BrotliCompress/brotli $(MAKE) -C edk2/BaseTools \ PYTHON_COMMAND=$${EDK2_PYTHON_COMMAND:-python3} \ EXTRA_OPTFLAGS='$(EDK2_BASETOOLS_OPTFLAGS)' \