diff options
author | Yonghong Zhu <yonghong.zhu@intel.com> | 2018-03-07 14:14:43 +0800 |
---|---|---|
committer | Yonghong Zhu <yonghong.zhu@intel.com> | 2018-03-09 16:34:37 +0800 |
commit | 8565b5829c1f30408020a4adb37074dba5492378 (patch) | |
tree | 690c44ca41011b766edfbe50e4cba0a52de1eede /BaseTools/Source/Python/Workspace/MetaFileParser.py | |
parent | 0f228f19fb40ffe60b13962ff639917435c562a9 (diff) | |
download | edk2-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.py | 1 |
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
|