Browse Source

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@intel.com>
Cc: Nate DeSimone <nathaniel.l.desimone@intel.com>
Cc: Chasel Chiu <chasel.chiu@intel.com>
Signed-off-by: Takuto Naito <naitaku@gmail.com>
Reviewed-by: Chasel Chiu <chasel.chiu@intel.com>
Takuto Naito 2 years ago
parent
commit
bee9efb752
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Platform/Intel/WhitleyOpenBoardPkg/PlatformPkg.dsc

+ 2 - 0
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