From bf9230a9f3dde065c3c8b4175ccd32e44e8f0362 Mon Sep 17 00:00:00 2001 From: Yi Li Date: Tue, 22 Mar 2022 15:26:11 +0800 Subject: BaseTools: Add the FeatureFlagExpression usage to the Source Section REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3828 FeatureFlagExpression Support in Source section of INF file. The Pcd value in the expression is from INF or DEC. When a FeatureFlagExpression is present,if the expression evaluates to TRUE,then the entry is valid. If the expression evaluates to FALSE, then the EDK II build tools must ignore the entry. This patch is going to add this feature. Cc: Bob Feng Cc: Liming Gao Cc: Heng Luo Reviewed-by: Bob Feng Signed-off-by: Yi Li --- 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 61ab3f7e24..197bd83666 100755 --- a/BaseTools/Source/Python/Common/GlobalData.py +++ b/BaseTools/Source/Python/Common/GlobalData.py @@ -18,6 +18,7 @@ gGlobalDefines = {} gPlatformDefines = {} # PCD name and value pair for fixed at build and feature flag gPlatformPcds = {} +gPlatformFinalPcds = {} # PCDs with type that are not fixed at build and feature flag gPlatformOtherPcds = {} gActivePlatform = None -- cgit v1.2.3