]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Fix track EDKT104: If a module use PCD, MSA of this module should use PcdLib libraryC...
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 17 Jul 2006 14:31:03 +0000 (14:31 +0000)
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 17 Jul 2006 14:31:03 +0000 (14:31 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1034 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Library/BasePciExpressLib/BasePciExpressLib.msa
Tools/Source/GenBuild/org/tianocore/build/pcd/action/PCDAutoGenAction.java

index 9db23eb2e506241e3b3991f4c4cd8b6d8dc4e0b1..7996aeb86d5231131e4fb67be5f5294c6205d582 100644 (file)
@@ -42,6 +42,9 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
     <LibraryClass Usage="ALWAYS_CONSUMED">\r
       <Keyword>DebugLib</Keyword>\r
     </LibraryClass>\r
+    <LibraryClass Usage="ALWAYS_CONSUMED">\r
+      <Keyword>PcdLib</Keyword>\r
+    </LibraryClass>    \r
   </LibraryClassDefinitions>\r
   <SourceFiles>\r
     <Filename>PciLib.c</Filename>\r
index f567cccc671c13cf7e62b6f8347f0ca2926a86c7..7f955ff0402cb384287c74993df22e8e5be4f7ae 100644 (file)
@@ -425,13 +425,6 @@ private UUID translateSchemaStringToUUID(String uuidString)
             }\r
         }\r
 \r
-        if(usageInstanceArray.size() != 0) {\r
-            //\r
-            // Add "#include 'PcdLib.h'" for Header file\r
-            //\r
-            hAutoGenString = "#include <MdePkg/Include/Library/PcdLib.h>\r\n";\r
-        }\r
-\r
         //\r
         // Generate all PCD entry for a module.\r
         // \r