X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=Tools%2FSource%2FGenBuild%2Forg%2Ftianocore%2Fbuild%2Fpcd%2Faction%2FCollectPCDAction.java;h=71a30b67abb74a0768fef0bcb1ec73f6c0c885af;hp=99290058722899f23596533d21210dbcb2e4de2a;hb=19ce77c3e90fbc5a9029163ef2813592127c4498;hpb=3d52de132fe23d3deaadfa6ea0d41353aff4e244 diff --git a/Tools/Source/GenBuild/org/tianocore/build/pcd/action/CollectPCDAction.java b/Tools/Source/GenBuild/org/tianocore/build/pcd/action/CollectPCDAction.java index 9929005872..71a30b67ab 100644 --- a/Tools/Source/GenBuild/org/tianocore/build/pcd/action/CollectPCDAction.java +++ b/Tools/Source/GenBuild/org/tianocore/build/pcd/action/CollectPCDAction.java @@ -373,15 +373,13 @@ public class CollectPCDAction { if(Token.PCD_USAGE.UNKNOWN != token.isUsageInstanceExist(moduleName)) { // - // BUGBUG: It should *not* throw exception here. Becaues in MdePkg.fpd, - // more than on BaseLib exist. But why? need confirmation. + // BUGBUG: It is legal that same base name exist in one FPD file. In furture + // we should use "Guid, Version, Package" and "Arch" to differ a module. + // So currently, warning should be disabled. // - //throw new EntityException( - // "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 - ); + //ActionMessage.warning(this, + // "In module " + moduleName + " exist more than one PCD token " + token.cName + // ); return null; }