summaryrefslogtreecommitdiff
path: root/payloads/external
diff options
context:
space:
mode:
authorSean Rhodes <sean@starlabs.systems>2022-10-24 09:53:45 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-10-25 15:07:10 +0000
commita52d26f2e590f5f9bf225fae677e29f9df056cd4 (patch)
tree9811aa30d7ee2ae2209db69ef6ec23c40b304534 /payloads/external
parentcd906960df03aeed28134e58bbbefdd981eb8bd2 (diff)
payloads/edk2: Add the declaration for OBJCOPY
The Shimlayer recipe requires OBJCOPY, so declare it at the top of the Makefile so this recipe works as intended. Signed-off-by: Sean Rhodes <sean@starlabs.systems> Change-Id: I2e04dfe18df6252261836dcdf98f7e8de65287b5 Reviewed-on: https://review.coreboot.org/c/coreboot/+/68744 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com>
Diffstat (limited to 'payloads/external')
-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 ff1dfbc03f..27ce4a9507 100644
--- a/payloads/external/edk2/Makefile
+++ b/payloads/external/edk2/Makefile
@@ -8,6 +8,8 @@ export WORKSPACE := $(CURDIR)/workspace
export EDK2_PATH := $(WORKSPACE)/$(word 3,$(subst /, ,$(CONFIG_EDK2_REPOSITORY)))
export PACKAGES_PATH := $(EDK2_PATH)
+OBJCOPY = $(GCC_PREFIX)objcopy
+
ifeq ($(CONFIG_EDK2_UEFIPAYLOAD),y)
BUILD_STR = -p UefiPayloadPkg/UefiPayloadPkg.dsc
endif