summaryrefslogtreecommitdiff
path: root/payloads
diff options
context:
space:
mode:
authorNicholas Sudsgaard <devel+coreboot@nsudsgaard.com>2024-03-02 10:09:14 +0900
committerFelix Held <felix-coreboot@felixheld.de>2024-05-15 16:49:26 +0000
commit744e3898006f33ee6ef281e9aacee141ce3d938f (patch)
tree6df3704de11da97dea4454448f46eda573b44825 /payloads
parentab42a64d99dc240d1088da0f56ebff228da562e3 (diff)
payload/external/edk2: Explicitly define the build arch as X64
Upstream commit 11ad164bce (UefiPayloadPkg: Make UPL build script arch agnostic, 2024-02-22) changes the build script's behavior to not assume the arch. Without defining BUILD_ARCH, the build script will not function properly and results in the payload failing to build. Both UefiPayload and Universal Payload can only be built in X64. Change-Id: Icd942d0c15a99231d09f9cbdc5eb48333b6aa6e5 Signed-off-by: Nicholas Sudsgaard <devel+coreboot@nsudsgaard.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/80883 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin L Roth <gaumless@gmail.com> Reviewed-by: Sean Rhodes <sean@starlabs.systems>
Diffstat (limited to 'payloads')
-rw-r--r--payloads/external/edk2/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/payloads/external/edk2/Makefile b/payloads/external/edk2/Makefile
index 4cb7f0f32b..ef3327ee0b 100644
--- a/payloads/external/edk2/Makefile
+++ b/payloads/external/edk2/Makefile
@@ -37,6 +37,8 @@ BUILD_STR += -s
endif
endif
+BUILD_STR += -D BUILD_ARCH=X64
+
#
# EDK II (edk2/master) has the following build options relevant to coreboot:
#