Build: Rename null debug lib and fix their compilation

This commit is contained in:
vit9696 2021-12-09 23:04:47 +03:00
parent 6552034b9f
commit 7a07d4308f
4 changed files with 5 additions and 3 deletions

View File

@ -16,7 +16,7 @@
[Defines]
INF_VERSION = 0x00010005
BASE_NAME = OcDebugLogLibNull
BASE_NAME = OcDebugNullLib
FILE_GUID = 3D2B1682-100F-49E5-A9C3-EA3FCEA3CFA1
MODULE_TYPE = BASE
VERSION_STRING = 1.0
@ -29,4 +29,4 @@
MdePkg/MdePkg.dec
[Sources]
OcDebugLogLib.c
OcDebugNullLib.c

View File

@ -221,7 +221,9 @@
OpenCorePkg/Library/OcCpuLib/OcCpuLib.inf
OpenCorePkg/Library/OcCryptoLib/OcCryptoLib.inf
OpenCorePkg/Library/OcDataHubLib/OcDataHubLib.inf
OpenCorePkg/Library/OcDebugSerialLib/OcDebugSerialLib.inf
OpenCorePkg/Library/OcDebugLogLib/OcDebugLogLib.inf
OpenCorePkg/Library/OcDebugNullLib/OcDebugNullLib.inf
OpenCorePkg/Library/OcDeviceMiscLib/OcDeviceMiscLib.inf
OpenCorePkg/Library/OcDevicePathLib/OcDevicePathLib.inf
OpenCorePkg/Library/OcDevicePropertyLib/OcDevicePropertyLib.inf

View File

@ -112,7 +112,7 @@
# To save size, use NULL library for DebugLib and ReportStatusCodeLib.
# If need status code output, do library instance overriden.
#
DebugLib|OpenCorePkg/Library/OcDebugLogLibNull/OcDebugLogLibNull.inf
DebugLib|OpenCorePkg/Library/OcDebugNullLib/OcDebugNullLib.inf
DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf