From: Yonghong Zhu Date: Mon, 12 Mar 2018 07:09:03 +0000 (+0800) Subject: BaseTools: Get Pcd DatumType from DEC file for --pcd X-Git-Tag: edk2-stable201903~2201 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=87a1f65e80cf183a87072df04d749b0aa12171d9 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 Reviewed-by: Liming Gao --- diff --git a/BaseTools/Source/Python/Workspace/DscBuildData.py b/BaseTools/Source/Python/Workspace/DscBuildData.py index 91b3a2737d..9c43daca5e 100644 --- a/BaseTools/Source/Python/Workspace/DscBuildData.py +++ b/BaseTools/Source/Python/Workspace/DscBuildData.py @@ -966,6 +966,7 @@ class DscBuildData(PlatformBuildClassObject): ) else: if (TokenCName, TokenSpaceGuidCName) in self.DecPcds: + PcdDatumType = self.DecPcds[(TokenCName, TokenSpaceGuidCName)].DatumType FoundFlag = True if not FoundFlag: if HasTokenSpace: