diff options
author | Yonghong Zhu <yonghong.zhu@intel.com> | 2018-03-12 15:09:03 +0800 |
---|---|---|
committer | Yonghong Zhu <yonghong.zhu@intel.com> | 2018-03-12 15:55:03 +0800 |
commit | 87a1f65e80cf183a87072df04d749b0aa12171d9 (patch) | |
tree | c2cb7571a9aee75d95fda5362cdfec92fcd707f5 /BaseTools/Source/Python/Workspace/DscBuildData.py | |
parent | 224f87932d8cd8a585fa335cdb005fbd05ac3004 (diff) | |
download | edk2-87a1f65e80cf183a87072df04d749b0aa12171d9.tar.gz edk2-87a1f65e80cf183a87072df04d749b0aa12171d9.tar.bz2 edk2-87a1f65e80cf183a87072df04d749b0aa12171d9.zip |
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>
Diffstat (limited to 'BaseTools/Source/Python/Workspace/DscBuildData.py')
-rw-r--r-- | BaseTools/Source/Python/Workspace/DscBuildData.py | 1 |
1 files changed, 1 insertions, 0 deletions
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:
|