OSDN Git Service

roms/edk2: Only init brotli submodule to build BaseTools
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Mon, 18 Oct 2021 10:58:15 +0000 (12:58 +0200)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 20 Oct 2021 23:26:19 +0000 (16:26 -0700)
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é <philmd@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Message-Id: <20211018105816.2663195-2-philmd@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
roms/Makefile

index eeb5970..b967b53 100644 (file)
@@ -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)' \