Re: [edk2-platforms PATCH v1 1/1] Platform/Intel/WhitleyOpenBoardPkg: Fix build error of WilsonCityRvp
Chiu, Chasel
Reviewed-by: Chasel Chiu <chasel.chiu@...>
Thanks,
Chasel
toggle quoted message
Show quoted text
Thanks,
Chasel
-----Original Message-----
From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Takuto
Naito
Sent: Wednesday, July 28, 2021 11:43 PM
To: devel@edk2.groups.io
Cc: Takuto Naito <naitaku@...>; Oram, Isaac W
<isaac.w.oram@...>; Desimone, Nathaniel L
<nathaniel.l.desimone@...>; Chiu, Chasel <chasel.chiu@...>
Subject: [edk2-devel] [edk2-platforms PATCH v1 1/1]
Platform/Intel/WhitleyOpenBoardPkg: Fix build error of WilsonCityRvp
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3511
The PCD PcdDebugLoadImageMethod, which is consumed by
PeCoffExtraActionLibDebug.inf is only for the DEBUG build.
Cc: Isaac Oram <isaac.w.oram@...>
Cc: Nate DeSimone <nathaniel.l.desimone@...>
Cc: Chasel Chiu <chasel.chiu@...>
Signed-off-by: Takuto Naito <naitaku@...>
---
Platform/Intel/WhitleyOpenBoardPkg/PlatformPkg.dsc | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Platform/Intel/WhitleyOpenBoardPkg/PlatformPkg.dsc
b/Platform/Intel/WhitleyOpenBoardPkg/PlatformPkg.dsc
index 41dc55a14d..fa41ae923d 100644
--- a/Platform/Intel/WhitleyOpenBoardPkg/PlatformPkg.dsc
+++ b/Platform/Intel/WhitleyOpenBoardPkg/PlatformPkg.dsc
@@ -148,7 +148,9 @@
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F # Enable
asserts, prints, code, clear memory, and deadloops on asserts.
gEfiMdePkgTokenSpaceGuid.PcdFixedDebugPrintErrorLevel|0x80200047 #
Built in messages: Error, MTRR, info, load, warn, init
+!if $(TARGET) == "DEBUG"
gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
# This is set to INT3 (0x2) for Simics source level debugging
+!endif
gEfiMdeModulePkgTokenSpaceGuid.PcdLoadModuleAtFixAddressEnable|0
gEfiMdeModulePkgTokenSpaceGuid.PcdHwErrStorageSize|0x0
--
2.25.1