Fix track EDKT104: If a module use PCD, MSA of this module should use PcdLib libraryClass.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1034 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
klu2 2006-07-17 14:31:03 +00:00
parent bbe4ba8149
commit 4b9fc76f7b
2 changed files with 3 additions and 7 deletions

View File

@ -42,6 +42,9 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<LibraryClass Usage="ALWAYS_CONSUMED">
<Keyword>DebugLib</Keyword>
</LibraryClass>
<LibraryClass Usage="ALWAYS_CONSUMED">
<Keyword>PcdLib</Keyword>
</LibraryClass>
</LibraryClassDefinitions>
<SourceFiles>
<Filename>PciLib.c</Filename>

View File

@ -425,13 +425,6 @@ private UUID translateSchemaStringToUUID(String uuidString)
}
}
if(usageInstanceArray.size() != 0) {
//
// Add "#include 'PcdLib.h'" for Header file
//
hAutoGenString = "#include <MdePkg/Include/Library/PcdLib.h>\r\n";
}
//
// Generate all PCD entry for a module.
//