summaryrefslogtreecommitdiffstats
path: root/payloads/external/tianocore/Makefile
diff options
context:
space:
mode:
authorSean Rhodes <sean@starlabs.systems>2022-02-09 08:30:07 +0000
committerFelix Held <felix-coreboot@felixheld.de>2022-02-24 00:29:14 +0000
commitf33ddb3959f9b2bafbf4d2e2f2059ca6074e2a00 (patch)
tree3b1b549411c900797e456a63ff36586b0f077ec8 /payloads/external/tianocore/Makefile
parent14d67b351555c4ddfe0ad6ed031d09298c6a7e96 (diff)
downloadcoreboot-f33ddb3959f9b2bafbf4d2e2f2059ca6074e2a00.tar.gz
coreboot-f33ddb3959f9b2bafbf4d2e2f2059ca6074e2a00.tar.bz2
coreboot-f33ddb3959f9b2bafbf4d2e2f2059ca6074e2a00.zip
payloads/tianocore: Add option to include EFI Shell
Add TIANOCORE_HAVE_EFI_SHELL, which when enabled, will build edk2 with the EFI Shell binary. Signed-off-by: Sean Rhodes <sean@starlabs.systems> Change-Id: I1272f514e3f5becfe1fddd58ca0d820c5d1c1b54 Reviewed-on: https://review.coreboot.org/c/coreboot/+/61759 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'payloads/external/tianocore/Makefile')
-rw-r--r--payloads/external/tianocore/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/payloads/external/tianocore/Makefile b/payloads/external/tianocore/Makefile
index 9c9cc9a05eda..14ec57a292b1 100644
--- a/payloads/external/tianocore/Makefile
+++ b/payloads/external/tianocore/Makefile
@@ -43,6 +43,9 @@ endif
# PLATFORM_BOOT_TIMEOUT = 3
ifneq ($(TIANOCORE_BOOT_TIMEOUT),)
BUILD_STR += -D PLATFORM_BOOT_TIMEOUT=$(CONFIG_TIANOCORE_BOOT_TIMEOUT)
+# SHELL_TYPE = BUILD_SHELL
+ifneq ($(CONFIG_TIANOCORE_HAVE_EFI_SHELL),y)
+BUILD_STR += -D SHELL_TYPE=NONE
endif
# USE_CBMEM_FOR_CONSOLE = FALSE
ifeq ($(CONFIG_TIANOCORE_CBMEM_LOGGING),y)