diff options
author | Liming Gao <liming.gao@intel.com> | 2017-11-24 09:30:11 +0300 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2017-12-25 06:05:45 +0300 |
commit | ae7b6df816e913394a7f11264f24953658ff34ba (patch) | |
tree | 10906d07aa821e1aa531ee3048f3d946cd485cc2 /BaseTools/Source/Python/Common/GlobalData.py | |
parent | 309e37a22915dca12d3e5b914d8b3429f7624601 (diff) | |
download | edk2-ae7b6df816e913394a7f11264f24953658ff34ba.tar.xz |
BaseTools: Support Structure PCD value assignment in DEC/DSC
https://bugzilla.tianocore.org/show_bug.cgi?id=542
This is pure BaseTools enhancement to support PCD with one structure.
User can specify PCD value based on its structure field.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Common/GlobalData.py')
-rw-r--r-- | BaseTools/Source/Python/Common/GlobalData.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/BaseTools/Source/Python/Common/GlobalData.py b/BaseTools/Source/Python/Common/GlobalData.py index 8b7562daa1..57ba0546ed 100644 --- a/BaseTools/Source/Python/Common/GlobalData.py +++ b/BaseTools/Source/Python/Common/GlobalData.py @@ -86,6 +86,9 @@ BuildOptionPcd = [] #
MixedPcd = {}
+# Structure Pcd dict
+gStructurePcd = {}
+
# Pcd name for the Pcd which used in the Conditional directives
gConditionalPcds = []
|