summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/Common/GlobalData.py
diff options
context:
space:
mode:
authorYuwei Chen <yuwei.chen@intel.com>2020-07-14 08:30:40 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-07-17 08:25:41 +0300
commitd35773d5c05b078f53d9475bc50ac9dee91b32c5 (patch)
treea0373caf848384630f869c7743608ef5a46b1594 /BaseTools/Source/Python/Common/GlobalData.py
parent21a23e6966c2eb597a8db98d6837a4c01b3cad4a (diff)
downloadedk2-d35773d5c05b078f53d9475bc50ac9dee91b32c5.tar.xz
BaseTools: Add Guid name support in GenFfs.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2762 The Fv Section in the FDF files use hard coding Guid values which is inconvenient to manage. This patch adds Guid name support in GenFfs to solve this problem. Signed-off-by: Yuwei Chen <yuwei.chen@intel.com> Reviewed-by: Bob Feng<bob.c.feng@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Common/GlobalData.py')
-rwxr-xr-xBaseTools/Source/Python/Common/GlobalData.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/BaseTools/Source/Python/Common/GlobalData.py b/BaseTools/Source/Python/Common/GlobalData.py
index 8ac29eb7a6..61ab3f7e24 100755
--- a/BaseTools/Source/Python/Common/GlobalData.py
+++ b/BaseTools/Source/Python/Common/GlobalData.py
@@ -29,6 +29,7 @@ gProcessingFile = ''
gBuildingModule = ''
gSkuids = []
gDefaultStores = []
+gGuidDict = {}
# definition for a MACRO name. used to create regular expressions below.
_MacroNamePattern = "[A-Z][A-Z0-9_]*"