Skip to content

Commit

Permalink
Build: Rename null debug lib and fix their compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
vit9696 committed Dec 9, 2021
1 parent 6552034 commit 7a07d43
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -29,4 +29,4 @@
MdePkg/MdePkg.dec

[Sources]
OcDebugLogLib.c
OcDebugNullLib.c
2 changes: 2 additions & 0 deletions OpenCorePkg.dsc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion OpenDuetPkg.dsc
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 7a07d43

Please sign in to comment.