From 87a1f65e80cf183a87072df04d749b0aa12171d9 Mon Sep 17 00:00:00 2001 From: Yonghong Zhu Date: Mon, 12 Mar 2018 15:09:03 +0800 Subject: [PATCH] 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 --- BaseTools/Source/Python/Workspace/DscBuildData.py | 1 + 1 file changed, 1 insertion(+) 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: -- 2.39.2