mirror of https://github.com/acidanthera/audk.git
UefiPayloadPkg: Allow DxeMain.inf to consume the new SerialPortLib
Let DxeMain.inf consume new SerialPortLib to support multiple channel debug message on early DXE if the macro MULTIPLE_DEBUG_PORT_SUPPORT is TRUE. Reviewed-by: Guo Dong <guo.dong@intel.com> Cc: Ray Ni <ray.ni@intel.com> Cc: Sean Rhodes <sean@starlabs.systems> Reviewed-by: James Lu <james.lu@intel.com> Reviewed-by: Gua Guo <gua.guo@intel.com> Signed-off-by: Kavya <k.kavyax.sravanthi@intel.com>
This commit is contained in:
parent
11a04bb4a6
commit
54c8d5e432
|
@ -132,6 +132,8 @@
|
|||
# Note: for emulation platform such as QEMU, this may not work and should set it as FALSE
|
||||
DEFINE CPU_TIMER_LIB_ENABLE = TRUE
|
||||
|
||||
DEFINE MULTIPLE_DEBUG_PORT_SUPPORT = FALSE
|
||||
|
||||
[BuildOptions]
|
||||
*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
|
||||
!if $(USE_CBMEM_FOR_CONSOLE) == FALSE
|
||||
|
@ -616,6 +618,10 @@
|
|||
#
|
||||
MdeModulePkg/Core/Dxe/DxeMain.inf {
|
||||
<LibraryClasses>
|
||||
!if $(MULTIPLE_DEBUG_PORT_SUPPORT) == TRUE
|
||||
DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
|
||||
SerialPortLib|UefiPayloadPkg/Library/BaseSerialPortLibHob/BaseSerialPortLibHob.inf
|
||||
!endif
|
||||
NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue