mirror of https://github.com/acidanthera/audk.git
UefiPayloadPkg: Make TerminalDxe build time configurable
As the TerminalDxe significantly slows down the boot menu rendering, add the DISABLE_SERIAL_TERMINAL option to disable it at build time. Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Signed-off-by: Marcello Sylvester Bauer <marcello.bauer@9elements.com> Reviewed-by: Maurice Ma <maurice.ma@intel.com> Reviewed-by: Guo Dong <guo.dong@intel.com>
This commit is contained in:
parent
f7f1b33282
commit
48aa2edf5d
|
@ -147,7 +147,9 @@ INF MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
|
|||
INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
|
||||
INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
|
||||
INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
|
||||
!if $(DISABLE_SERIAL_TERMINAL) == FALSE
|
||||
INF MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
|
||||
!endif
|
||||
INF UefiPayloadPkg/GraphicsOutputDxe/GraphicsOutputDxe.inf
|
||||
|
||||
#
|
||||
|
|
|
@ -58,6 +58,9 @@
|
|||
DEFINE UART_DEFAULT_STOP_BITS = 1
|
||||
DEFINE DEFAULT_TERMINAL_TYPE = 0
|
||||
|
||||
# Enabling the serial terminal will slow down the boot menu redering!
|
||||
DEFINE DISABLE_SERIAL_TERMINAL = FALSE
|
||||
|
||||
#
|
||||
# typedef struct {
|
||||
# UINT16 VendorId; ///< Vendor ID to match the PCI device. The value 0xFFFF terminates the list of entries.
|
||||
|
@ -503,7 +506,9 @@
|
|||
#
|
||||
MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
|
||||
MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
|
||||
!if $(DISABLE_SERIAL_TERMINAL) == FALSE
|
||||
MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
|
||||
!endif
|
||||
MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
|
||||
UefiPayloadPkg/GraphicsOutputDxe/GraphicsOutputDxe.inf
|
||||
|
||||
|
|
|
@ -59,6 +59,9 @@
|
|||
DEFINE UART_DEFAULT_STOP_BITS = 1
|
||||
DEFINE DEFAULT_TERMINAL_TYPE = 0
|
||||
|
||||
# Enabling the serial terminal will slow down the boot menu redering!
|
||||
DEFINE DISABLE_SERIAL_TERMINAL = FALSE
|
||||
|
||||
#
|
||||
# typedef struct {
|
||||
# UINT16 VendorId; ///< Vendor ID to match the PCI device. The value 0xFFFF terminates the list of entries.
|
||||
|
@ -504,7 +507,9 @@
|
|||
#
|
||||
MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
|
||||
MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
|
||||
!if $(DISABLE_SERIAL_TERMINAL) == FALSE
|
||||
MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
|
||||
!endif
|
||||
MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
|
||||
UefiPayloadPkg/GraphicsOutputDxe/GraphicsOutputDxe.inf
|
||||
|
||||
|
|
Loading…
Reference in New Issue