From a52d26f2e590f5f9bf225fae677e29f9df056cd4 Mon Sep 17 00:00:00 2001 From: Sean Rhodes Date: Mon, 24 Oct 2022 09:53:45 +0100 Subject: 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 Change-Id: I2e04dfe18df6252261836dcdf98f7e8de65287b5 Reviewed-on: https://review.coreboot.org/c/coreboot/+/68744 Tested-by: build bot (Jenkins) Reviewed-by: Lean Sheng Tan --- payloads/external/edk2/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'payloads') 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 -- cgit v1.2.3