summaryrefslogtreecommitdiffstats
path: root/payloads/external/Makefile.inc
diff options
context:
space:
mode:
authorSean Rhodes <sean@starlabs.systems>2022-08-02 09:12:13 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-09-01 14:11:57 +0000
commit306550dac93e9de8cea4b82a2874898499987ba4 (patch)
tree33660c230ebdbdc471391832ef43e37c35e18127 /payloads/external/Makefile.inc
parent4dfcd7acdc705994cd20c27d5e3edfae31672b64 (diff)
downloadcoreboot-306550dac93e9de8cea4b82a2874898499987ba4.tar.gz
coreboot-306550dac93e9de8cea4b82a2874898499987ba4.tar.bz2
coreboot-306550dac93e9de8cea4b82a2874898499987ba4.zip
payloads/edk2: Convert UefiPayloadPkg to a file target
Convert UefiPayloadPkg (UEFIPAYLOAD.fd) to a file target. There is no functional change here, it just avoids it being copied out of the build dir, into an output directory and then into build. Signed-off-by: Sean Rhodes <sean@starlabs.systems> Change-Id: Iff097f6f1e715c697c33c50c395d7c1b88cc6280 Reviewed-on: https://review.coreboot.org/c/coreboot/+/66360 Reviewed-by: Martin Roth <martin.roth@amd.corp-partner.google.com> Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'payloads/external/Makefile.inc')
-rw-r--r--payloads/external/Makefile.inc5
1 files changed, 2 insertions, 3 deletions
diff --git a/payloads/external/Makefile.inc b/payloads/external/Makefile.inc
index f964bdaab586..6720f30630c3 100644
--- a/payloads/external/Makefile.inc
+++ b/payloads/external/Makefile.inc
@@ -154,8 +154,8 @@ payloads/external/depthcharge/depthcharge/build/depthcharge.elf depthcharge: $(D
# edk2
-$(obj)/UEFIPAYLOAD.fd edk2: $(DOTCONFIG)
- $(MAKE) -C payloads/external/edk2 all \
+$(obj)/UEFIPAYLOAD.fd: $(DOTCONFIG)
+ $(MAKE) -C payloads/external/edk2 UefiPayloadPkg \
HOSTCC="$(HOSTCC)" \
CC="$(HOSTCC)" \
CONFIG_EDK2_REPOSITORY=$(CONFIG_EDK2_REPOSITORY) \
@@ -190,7 +190,6 @@ $(obj)/UEFIPAYLOAD.fd edk2: $(DOTCONFIG)
OBJCOPY_arm=$(OBJCOPY_arm) \
OBJCOPY_arm64=$(OBJCOPY_arm64) \
MFLAGS= MAKEFLAGS=
- mv payloads/external/edk2/workspace/output/UEFIPAYLOAD.fd $@
# FILO