summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/Workspace/MetaFileParser.py
diff options
context:
space:
mode:
authorYonghong Zhu <yonghong.zhu@intel.com>2018-03-07 14:14:43 +0800
committerYonghong Zhu <yonghong.zhu@intel.com>2018-03-09 16:34:37 +0800
commit8565b5829c1f30408020a4adb37074dba5492378 (patch)
tree690c44ca41011b766edfbe50e4cba0a52de1eede /BaseTools/Source/Python/Workspace/MetaFileParser.py
parent0f228f19fb40ffe60b13962ff639917435c562a9 (diff)
downloadedk2-8565b5829c1f30408020a4adb37074dba5492378.tar.gz
edk2-8565b5829c1f30408020a4adb37074dba5492378.tar.bz2
edk2-8565b5829c1f30408020a4adb37074dba5492378.zip
BaseTools: Update --pcd parser to support flexible pcd format
This patch update --pcd parser to support flexible pcd format. 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/MetaFileParser.py')
-rw-r--r--BaseTools/Source/Python/Workspace/MetaFileParser.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/BaseTools/Source/Python/Workspace/MetaFileParser.py b/BaseTools/Source/Python/Workspace/MetaFileParser.py
index 6809003d98..69bdf2161b 100644
--- a/BaseTools/Source/Python/Workspace/MetaFileParser.py
+++ b/BaseTools/Source/Python/Workspace/MetaFileParser.py
@@ -1246,6 +1246,7 @@ class DscParser(MetaFileParser):
if GlobalData.BuildOptionPcd:
for Item in GlobalData.BuildOptionPcd:
PcdName, TmpValue = Item.split("=")
+ TmpValue = BuildOptionValue(TmpValue, self._GuidDict)
Macros[PcdName.strip()] = TmpValue
return Macros