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>
This commit is contained in:
parent
cd906960df
commit
a52d26f2e5
|
@ -8,6 +8,8 @@ export WORKSPACE := $(CURDIR)/workspace
|
||||||
export EDK2_PATH := $(WORKSPACE)/$(word 3,$(subst /, ,$(CONFIG_EDK2_REPOSITORY)))
|
export EDK2_PATH := $(WORKSPACE)/$(word 3,$(subst /, ,$(CONFIG_EDK2_REPOSITORY)))
|
||||||
export PACKAGES_PATH := $(EDK2_PATH)
|
export PACKAGES_PATH := $(EDK2_PATH)
|
||||||
|
|
||||||
|
OBJCOPY = $(GCC_PREFIX)objcopy
|
||||||
|
|
||||||
ifeq ($(CONFIG_EDK2_UEFIPAYLOAD),y)
|
ifeq ($(CONFIG_EDK2_UEFIPAYLOAD),y)
|
||||||
BUILD_STR = -p UefiPayloadPkg/UefiPayloadPkg.dsc
|
BUILD_STR = -p UefiPayloadPkg/UefiPayloadPkg.dsc
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue