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>
diff --git a/payloads/external/edk2/Makefile b/payloads/external/edk2/Makefile
index d536536..9a91412 100644
--- a/payloads/external/edk2/Makefile
+++ b/payloads/external/edk2/Makefile
@@ -105,7 +105,7 @@
 
 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; \