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>
This commit is contained in:
Sean Rhodes 2022-08-02 09:36:40 +01:00 committed by Felix Held
parent bbec7129d4
commit f2a9a3fb41
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ $(WORKSPACE):
update: $(WORKSPACE) update: $(WORKSPACE)
if [ ! -d "$(EDK2_PATH)" ]; then \ if [ ! -d "$(EDK2_PATH)" ]; then \
git clone $(CONFIG_EDK2_REPOSITORY) $(EDK2_PATH); \ git clone --recurse-submodules $(CONFIG_EDK2_REPOSITORY) $(EDK2_PATH) -j5; \
fi fi
cd $(EDK2_PATH); \ cd $(EDK2_PATH); \
git checkout MdeModulePkg/Logo/Logo.bmp > /dev/null 2>&1 || true; \ git checkout MdeModulePkg/Logo/Logo.bmp > /dev/null 2>&1 || true; \