From 7a07d4308f945f10c19bb6443250e1f48705548f Mon Sep 17 00:00:00 2001 From: vit9696 Date: Thu, 9 Dec 2021 23:04:47 +0300 Subject: [PATCH] Build: Rename null debug lib and fix their compilation --- .../OcDebugLogLib.c => OcDebugNullLib/OcDebugNullLib.c} | 0 .../OcDebugNullLib.inf} | 4 ++-- OpenCorePkg.dsc | 2 ++ OpenDuetPkg.dsc | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) rename Library/{OcDebugLogLibNull/OcDebugLogLib.c => OcDebugNullLib/OcDebugNullLib.c} (100%) rename Library/{OcDebugLogLibNull/OcDebugLogLibNull.inf => OcDebugNullLib/OcDebugNullLib.inf} (93%) diff --git a/Library/OcDebugLogLibNull/OcDebugLogLib.c b/Library/OcDebugNullLib/OcDebugNullLib.c similarity index 100% rename from Library/OcDebugLogLibNull/OcDebugLogLib.c rename to Library/OcDebugNullLib/OcDebugNullLib.c diff --git a/Library/OcDebugLogLibNull/OcDebugLogLibNull.inf b/Library/OcDebugNullLib/OcDebugNullLib.inf similarity index 93% rename from Library/OcDebugLogLibNull/OcDebugLogLibNull.inf rename to Library/OcDebugNullLib/OcDebugNullLib.inf index 46765808..86c044b6 100755 --- a/Library/OcDebugLogLibNull/OcDebugLogLibNull.inf +++ b/Library/OcDebugNullLib/OcDebugNullLib.inf @@ -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 diff --git a/OpenCorePkg.dsc b/OpenCorePkg.dsc index 6ff92484..91838569 100755 --- a/OpenCorePkg.dsc +++ b/OpenCorePkg.dsc @@ -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 diff --git a/OpenDuetPkg.dsc b/OpenDuetPkg.dsc index fb604847..f7794b13 100644 --- a/OpenDuetPkg.dsc +++ b/OpenDuetPkg.dsc @@ -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