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; \