]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdePkg/Library/BaseStackCheckLib: Fix PCD type in INF
authorMichael D Kinney <michael.d.kinney@intel.com>
Mon, 6 Jul 2020 16:15:35 +0000 (09:15 -0700)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 15 Jul 2020 05:25:21 +0000 (05:25 +0000)
Update INF file to use a [Pcd] section instead of a
[FixedPcd] section.  [FixedPcd] should only be used in an
INF file if the source code looks up the PCD value using
the PcdLib FixedPcdGetxx() services.  Using [FixedPcd]
forces a platform to configure the PCD to type FixedAtBuild.
In this case, PcdDebugPropertyMask supports PCD types
FixedAtBuild and PatchableInModule.  Without this change
any platform that wants to use PcdDebugPropertyMask as
type PatchableInModule breaks the build.

Cc: Liming Gao <liming.gao@intel.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf

index 4ae3bd1a829c9b42c5047ae6110cf1c16055702f..0dc3c4a83aa50bc32c510be55652454448621095 100644 (file)
@@ -36,5 +36,5 @@
   BaseLib\r
   DebugLib\r
 \r
-[FixedPcd]\r
+[Pcd]\r
   gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask  ## CONSUMES\r