From 2f2eb8efda6b2f47790d5c59efb5ee5d92fb0048 Mon Sep 17 00:00:00 2001 From: Konstantin Aladyshev Date: Wed, 7 Feb 2024 11:55:02 +0300 Subject: Enable DEBUG build target for debug in OVMF Signed-off-by: Konstantin Aladyshev --- UefiLessonsPkg/UefiLessonsPkg.dsc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/UefiLessonsPkg/UefiLessonsPkg.dsc b/UefiLessonsPkg/UefiLessonsPkg.dsc index d51eb2c..d0cc2df 100644 --- a/UefiLessonsPkg/UefiLessonsPkg.dsc +++ b/UefiLessonsPkg/UefiLessonsPkg.dsc @@ -11,13 +11,15 @@ PLATFORM_NAME = UefiLessonsPkg SKUID_IDENTIFIER = DEFAULT SUPPORTED_ARCHITECTURES = X64 - BUILD_TARGETS = RELEASE + BUILD_TARGETS = RELEASE|DEBUG [LibraryClasses] UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf - DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf + #DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf + DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf + IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf BaseLib|MdePkg/Library/BaseLib/BaseLib.inf #PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf @@ -171,3 +173,7 @@ #[PcdsDynamicEx] # gUefiLessonsPkgTokenSpaceGuid.PcdDynamicExInt32|0xBABEBABE|UINT32|0xAF35F3B2 +[PcdsFixedAtBuild] + gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF + gEfiMdePkgTokenSpaceGuid.PcdFixedDebugPrintErrorLevel|0xFFFFFFFF + gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F -- cgit v1.2.3-18-g5258