diff options
author | Sean Rhodes <sean@starlabs.systems> | 2022-07-04 17:01:09 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-07-06 15:46:27 +0000 |
commit | 8e10a4826a8fe83292a084450cf1b905ac832edd (patch) | |
tree | 726ab1ab3055ae0bcb5527922f28114912ffb547 /payloads/external/tianocore/Makefile | |
parent | 7a0ca5ba8ffd8b84bcf6738bc07cce3d3889a760 (diff) |
payloads/external/tianocore: Hook up debug builds to serial support
ConSplitterDxe uses the intersection of all outputs, which includes
serial, for the list of supported text modes. When serial output is
supported, this slows down performance and limits the size of
FrontPage.
Only enable edk2's serial support when it's a debug build as
it's the only case where there will be debug output.
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Change-Id: Ic3633767dabb3543e865aa65c4101840a7b69cc1
Reviewed-on: https://review.coreboot.org/c/coreboot/+/65643
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com>
Diffstat (limited to 'payloads/external/tianocore/Makefile')
-rw-r--r-- | payloads/external/tianocore/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/payloads/external/tianocore/Makefile b/payloads/external/tianocore/Makefile index bcadcb277e..7dcaf201b3 100644 --- a/payloads/external/tianocore/Makefile +++ b/payloads/external/tianocore/Makefile @@ -36,6 +36,10 @@ endif ifeq ($(CONFIG_TIANOCORE_RELEASE),y) BUILD_STR += -b RELEASE endif +# DISABLE_SERIAL_TERMINAL = FALSE +ifneq ($(CONFIG_TIANOCORE_SERIAL_SUPPORT),y) +BUILD_STR += -D DISABLE_SERIAL_TERMINAL=TRUE +endif # FOLLOW_BGRT_SPEC = FALSE ifeq ($(CONFIG_TIANOCORE_FOLLOW_BGRT_SPEC),y) BUILD_STR += -D FOLLOW_BGRT_SPEC=TRUE |