]> git.proxmox.com Git - mirror_edk2.git/commitdiff
BaseTools: Clarify a DSC parsing error about PCDs
authorCarsey, Jaben <jaben.carsey@intel.com>
Wed, 29 Aug 2018 15:15:55 +0000 (23:15 +0800)
committerYonghong Zhu <yonghong.zhu@intel.com>
Fri, 31 Aug 2018 00:53:28 +0000 (08:53 +0800)
This error needs the information about which DEC files were searched.

Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Lee Hamel <lee.m.hamel@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jaben Carsey <jaben.carsey@intel.com>
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
BaseTools/Source/Python/Workspace/DscBuildData.py

index eeeb08b4b60ed3bcf74016dcecece3ccbbc761e7..7d6536c4b6df7b2b91bdc40b608f5c62e2405ff5 100644 (file)
@@ -859,7 +859,7 @@ class DscBuildData(PlatformBuildClassObject):
 \r
         if (PcdCName, TokenSpaceGuid) not in self._DecPcds:\r
             EdkLogger.error('build', PARSER_ERROR,\r
-                            "Pcd (%s.%s) defined in DSC is not declared in DEC files. Arch: ['%s']" % (TokenSpaceGuid, PcdCName, self._Arch),\r
+                            "Pcd (%s.%s) defined in DSC is not declared in DEC files referenced in INF files in FDF. Arch: ['%s']" % (TokenSpaceGuid, PcdCName, self._Arch),\r
                             File=self.MetaFile, Line=LineNo)\r
         ValueList, IsValid, Index = AnalyzeDscPcd(Setting, PcdType, self._DecPcds[PcdCName, TokenSpaceGuid].DatumType)\r
         if not IsValid:\r