payloads/edk2: Indicate whether edk2-platforms is available
This allows EDK2 build files to decide whether these modules should be built. Change-Id: I12dc346d17ab0f963dedd5560b66b96210a4ec48 Signed-off-by: Benjamin Doron <benjamin.doron@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/88428 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Sean Rhodes <sean@starlabs.systems>
This commit is contained in:
parent
626fd50a94
commit
8d9e18a122
1 changed files with 2 additions and 1 deletions
3
payloads/external/edk2/Makefile
vendored
3
payloads/external/edk2/Makefile
vendored
|
|
@ -8,6 +8,7 @@ export WORKSPACE := $(CURDIR)/workspace
|
|||
export EDK2_PATH := $(WORKSPACE)/$(word 3,$(subst /, ,$(CONFIG_EDK2_REPOSITORY)))
|
||||
|
||||
ifeq ($(CONFIG_EDK2_USE_EDK2_PLATFORMS),y)
|
||||
BUILD_STR += -D USE_EDK2_PLATFORMS=TRUE
|
||||
export EDK2_PLATFORMS_PATH := $(WORKSPACE)/edk2-platforms
|
||||
export PACKAGES_PATH := $(EDK2_PATH):\
|
||||
$(EDK2_PLATFORMS_PATH)/Platform/Intel:\
|
||||
|
|
@ -26,7 +27,7 @@ endif
|
|||
OBJCOPY = $(GCC_PREFIX)objcopy
|
||||
|
||||
ifeq ($(CONFIG_EDK2_UEFIPAYLOAD),y)
|
||||
BUILD_STR = -p UefiPayloadPkg/UefiPayloadPkg.dsc
|
||||
BUILD_STR += -p UefiPayloadPkg/UefiPayloadPkg.dsc
|
||||
endif
|
||||
BUILD_STR += -t COREBOOT
|
||||
BUILD_STR += -D BOOTLOADER=COREBOOT
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue