From d35773d5c05b078f53d9475bc50ac9dee91b32c5 Mon Sep 17 00:00:00 2001 From: Yuwei Chen Date: Tue, 14 Jul 2020 13:30:40 +0800 Subject: 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 Reviewed-by: Bob Feng --- BaseTools/Source/Python/Common/GlobalData.py | 1 + 1 file changed, 1 insertion(+) (limited to 'BaseTools/Source/Python/Common/GlobalData.py') 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_]*" -- cgit v1.2.3