From f2a9a3fb41dbb97731af21e156a3484b0063d115 Mon Sep 17 00:00:00 2001 From: Sean Rhodes Date: Tue, 2 Aug 2022 09:36:40 +0100 Subject: [PATCH] payloads/edk2: Clone edk2 and its submodules in parallel When cloning edk2, download the submodules at the same time. There is no functional change here, just a minor speed improvement. Signed-off-by: Sean Rhodes Change-Id: Ieeb481346093588bd8d237857966001dc81460b1 Reviewed-on: https://review.coreboot.org/c/coreboot/+/66362 Reviewed-by: Lean Sheng Tan Tested-by: build bot (Jenkins) --- payloads/external/edk2/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/payloads/external/edk2/Makefile b/payloads/external/edk2/Makefile index d53653683c..9a91412127 100644 --- a/payloads/external/edk2/Makefile +++ b/payloads/external/edk2/Makefile @@ -105,7 +105,7 @@ $(WORKSPACE): update: $(WORKSPACE) if [ ! -d "$(EDK2_PATH)" ]; then \ - git clone $(CONFIG_EDK2_REPOSITORY) $(EDK2_PATH); \ + git clone --recurse-submodules $(CONFIG_EDK2_REPOSITORY) $(EDK2_PATH) -j5; \ fi cd $(EDK2_PATH); \ git checkout MdeModulePkg/Logo/Logo.bmp > /dev/null 2>&1 || true; \