summaryrefslogtreecommitdiff
path: root/payloads
diff options
context:
space:
mode:
authorSean Rhodes <sean@starlabs.systems>2022-08-02 09:36:40 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-09-01 14:13:49 +0000
commitf2a9a3fb41dbb97731af21e156a3484b0063d115 (patch)
tree19738f6a5c9dcfa3c3750d4f8161630dcd873dd7 /payloads
parentbbec7129d49956741100d1b3e1bb617ff9dd1431 (diff)
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 <sean@starlabs.systems> Change-Id: Ieeb481346093588bd8d237857966001dc81460b1 Reviewed-on: https://review.coreboot.org/c/coreboot/+/66362 Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'payloads')
-rw-r--r--payloads/external/edk2/Makefile2
1 files changed, 1 insertions, 1 deletions
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; \