summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaszlo Ersek <lersek@redhat.com>2014-08-16 16:19:11 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2014-08-16 16:19:11 +0000
commitda03183cd0da9e0623990da1c525736598b9ca63 (patch)
tree3db6352ce8a9f2c8e9248b43b920a1be84a839d2
parent6a650d1fd124b5b22787f2bde2c102e9f5e8e404 (diff)
downloadedk2-da03183cd0da9e0623990da1c525736598b9ca63.tar.gz
edk2-da03183cd0da9e0623990da1c525736598b9ca63.tar.bz2
edk2-da03183cd0da9e0623990da1c525736598b9ca63.zip
MdePkg: library INF files should reference feature PCDs under [FeaturePcd]
This patch updates users of PcdVerifyNodeInList and PcdValidateOrderedCollection. Suggested-by: Liming Gao <liming.gao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15814 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--MdePkg/Library/BaseLib/BaseLib.inf2
-rw-r--r--MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf4
2 files changed, 4 insertions, 2 deletions
diff --git a/MdePkg/Library/BaseLib/BaseLib.inf b/MdePkg/Library/BaseLib/BaseLib.inf
index d431ff0c0e..36246ed926 100644
--- a/MdePkg/Library/BaseLib/BaseLib.inf
+++ b/MdePkg/Library/BaseLib/BaseLib.inf
@@ -504,4 +504,6 @@
gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength
gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength
gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength
+
+[FeaturePcd]
gEfiMdePkgTokenSpaceGuid.PcdVerifyNodeInList
diff --git a/MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf b/MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
index 4546725569..8c17e6e5ba 100644
--- a/MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
+++ b/MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
@@ -45,5 +45,5 @@
DebugLib
MemoryAllocationLib
-[Pcd]
- gEfiMdePkgTokenSpaceGuid.PcdValidateOrderedCollection ## CONSUMES
+[FeaturePcd]
+ gEfiMdePkgTokenSpaceGuid.PcdValidateOrderedCollection