mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-26 07:04:28 +02:00
It is legal that same base name exist in one FPD file. In future, we should use "Guid, Version, Package" and "Arch" to differ a module. So currently, warning should be disabled.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@108 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
845fdeba64
commit
19ce77c3e9
@ -373,15 +373,13 @@ public class CollectPCDAction {
|
|||||||
|
|
||||||
if(Token.PCD_USAGE.UNKNOWN != token.isUsageInstanceExist(moduleName)) {
|
if(Token.PCD_USAGE.UNKNOWN != token.isUsageInstanceExist(moduleName)) {
|
||||||
//
|
//
|
||||||
// BUGBUG: It should *not* throw exception here. Becaues in MdePkg.fpd,
|
// BUGBUG: It is legal that same base name exist in one FPD file. In furture
|
||||||
// more than on BaseLib exist. But why? need confirmation.
|
// we should use "Guid, Version, Package" and "Arch" to differ a module.
|
||||||
|
// So currently, warning should be disabled.
|
||||||
//
|
//
|
||||||
//throw new EntityException(
|
//ActionMessage.warning(this,
|
||||||
// "In module " + moduleName + " exist more than one PCD token " + token.cName
|
// "In module " + moduleName + " exist more than one PCD token " + token.cName
|
||||||
// );
|
// );
|
||||||
ActionMessage.warning(this,
|
|
||||||
"In module " + moduleName + " exist more than one PCD token " + token.cName
|
|
||||||
);
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user