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:
parent
bbe4ba8149
commit
4b9fc76f7b
@ -42,6 +42,9 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|||||||
<LibraryClass Usage="ALWAYS_CONSUMED">
|
<LibraryClass Usage="ALWAYS_CONSUMED">
|
||||||
<Keyword>DebugLib</Keyword>
|
<Keyword>DebugLib</Keyword>
|
||||||
</LibraryClass>
|
</LibraryClass>
|
||||||
|
<LibraryClass Usage="ALWAYS_CONSUMED">
|
||||||
|
<Keyword>PcdLib</Keyword>
|
||||||
|
</LibraryClass>
|
||||||
</LibraryClassDefinitions>
|
</LibraryClassDefinitions>
|
||||||
<SourceFiles>
|
<SourceFiles>
|
||||||
<Filename>PciLib.c</Filename>
|
<Filename>PciLib.c</Filename>
|
||||||
|
@ -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.
|
// Generate all PCD entry for a module.
|
||||||
//
|
//
|
||||||
|
Loading…
x
Reference in New Issue
Block a user