From 461d1c8268d8ff480ab8d62213381bd28a1e2e97 Mon Sep 17 00:00:00 2001 From: Sean Rhodes Date: Tue, 2 Aug 2022 09:41:32 +0100 Subject: payloads/edk2: Rename the update recipe Rename the update recipe, which updates the edk2 repository, to $(EDK2_PATH). There is no functional change here. This recipe must be phony so it runs every time. Signed-off-by: Sean Rhodes Change-Id: I30fedbee7459b79a85a23678e0075368eda95da0 Reviewed-on: https://review.coreboot.org/c/coreboot/+/66363 Reviewed-by: Lean Sheng Tan Tested-by: build bot (Jenkins) --- payloads/external/edk2/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'payloads/external/edk2/Makefile') diff --git a/payloads/external/edk2/Makefile b/payloads/external/edk2/Makefile index 9a91412127..7b5584569f 100644 --- a/payloads/external/edk2/Makefile +++ b/payloads/external/edk2/Makefile @@ -103,7 +103,7 @@ all: UefiPayloadPkg $(WORKSPACE): mkdir $(WORKSPACE) -update: $(WORKSPACE) +$(EDK2_PATH): $(WORKSPACE) if [ ! -d "$(EDK2_PATH)" ]; then \ git clone --recurse-submodules $(CONFIG_EDK2_REPOSITORY) $(EDK2_PATH) -j5; \ fi @@ -123,7 +123,7 @@ update: $(WORKSPACE) fi; \ git submodule update --init --checkout -logo: update +logo: $(EDK2_PATH) case "$(CONFIG_EDK2_BOOTSPLASH_FILE)" in \ "") ;; \ /*) convert -background None $(CONFIG_EDK2_BOOTSPLASH_FILE) \ @@ -168,7 +168,7 @@ print: -e 's/s /Build: Silent/' \ -e 's/t /Toolchain: /' -prep: clean checktools logo update +prep: $(EDK2_PATH) clean checktools logo cd $(WORKSPACE); \ source $(EDK2_PATH)/edksetup.sh; \ unset CC; $(MAKE) -C $(EDK2_PATH)/BaseTools 2>&1; \ @@ -200,4 +200,4 @@ clean: distclean: rm -rf $(WORKSPACE) -.PHONY: update logo checktools UefiPayloadPkg clean distclean +.PHONY: $(EDK2_PATH) checktools logo UefiPayloadPkg clean distclean -- cgit v1.2.3