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

View File

@ -101,9 +101,7 @@ endif
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 \