payloads/edk2: Adjust the WORKSPACE target
First, remove the `-p` flag; as it's a file target it's not needed in
this case.
Second, remove the clone as this is handled in the update recipe.
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Change-Id: I3829a3151be2d05a067a160fa770e5eb7ad4aad4
Reviewed-on: https://review.coreboot.org/c/coreboot/+/66361
Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com>
Reviewed-by: Martin Roth <martin.roth@amd.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
diff --git a/payloads/external/edk2/Makefile b/payloads/external/edk2/Makefile
index 9ee9b44..d536536 100644
--- a/payloads/external/edk2/Makefile
+++ b/payloads/external/edk2/Makefile
@@ -101,9 +101,7 @@
all: UefiPayloadPkg
$(WORKSPACE):
- mkdir -p $(WORKSPACE)
- echo " Cloning $(project_name) from $(CONFIG_EDK2_REPOSITORY)"
- git clone $(CONFIG_EDK2_REPOSITORY) $(EDK2_PATH)
+ mkdir $(WORKSPACE)
update: $(WORKSPACE)
if [ ! -d "$(EDK2_PATH)" ]; then \