BaseTools: Get Pcd DatumType from DEC file for --pcd
It is regression bug that missing the Pcd DatumType info from DEC file for --pcd . Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
@ -966,6 +966,7 @@ class DscBuildData(PlatformBuildClassObject):
|
|||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
if (TokenCName, TokenSpaceGuidCName) in self.DecPcds:
|
if (TokenCName, TokenSpaceGuidCName) in self.DecPcds:
|
||||||
|
PcdDatumType = self.DecPcds[(TokenCName, TokenSpaceGuidCName)].DatumType
|
||||||
FoundFlag = True
|
FoundFlag = True
|
||||||
if not FoundFlag:
|
if not FoundFlag:
|
||||||
if HasTokenSpace:
|
if HasTokenSpace:
|
||||||
|
Reference in New Issue
Block a user