diff options
author | Matt DeVillier <matt.devillier@gmail.com> | 2024-07-15 12:46:49 -0500 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2024-07-22 13:57:17 +0000 |
commit | be06b8b98cf5e6a1a44547916a3a9859da39866d (patch) | |
tree | e3e30d2090646433849f647d3c0adcb7ecc55bcb | |
parent | a3d5444b549e8914e5479ee81f2e310ea19ee35d (diff) |
payloads/edk2/Makefile: Add $(EDK2_PATH) as dependency for 'gop_driver' target
Without this, when doing a clean build with 'make j$(nproc)`, the build
can fail copying the GOP driver file since the target directory does
not exist yet.
TEST=build/boot google/hatch (akemi) w/edk2 payload and GOP driver init
on a clean git checkout.
Change-Id: Ic510d70041dc099e6bc469528b80d1e271976655
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/83474
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Reviewed-by: Sean Rhodes <sean@starlabs.systems>
-rw-r--r-- | payloads/external/edk2/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/external/edk2/Makefile b/payloads/external/edk2/Makefile index ef3327ee0b..3966b91da6 100644 --- a/payloads/external/edk2/Makefile +++ b/payloads/external/edk2/Makefile @@ -222,7 +222,7 @@ logo: $(EDK2_PATH) BMP3:$(EDK2_PATH)/MdeModulePkg/Logo/Logo.bmp;; \ esac \ -gop_driver: +gop_driver: $(EDK2_PATH) if [ -n "$(CONFIG_EDK2_GOP_DRIVER)" ]; then \ echo "Using GOP driver $(CONFIG_EDK2_GOP_FILE)"; \ cp $(top)/$(CONFIG_EDK2_GOP_FILE) $(EDK2_PATH)/UefiPayloadPkg/IntelGopDriver.efi; \ |