[edk2-devel] [PATCH V2 0/2] BaseTools:Add the FeatureFlagExpression usage to the InfBuildData

yi1 li posted 2 patches 2 years, 1 month ago
Failed in applying to current master (apply log)
BaseTools/Source/Python/Common/Expression.py  |  2 +-
BaseTools/Source/Python/Common/GlobalData.py  |  1 +
.../Source/Python/Workspace/InfBuildData.py   | 81 ++++++++++++++++---
.../Source/Python/Workspace/MetaFileParser.py |  4 +
.../Python/Workspace/WorkspaceCommon.py       | 10 ++-
5 files changed, 86 insertions(+), 12 deletions(-)
[edk2-devel] [PATCH V2 0/2] BaseTools:Add the FeatureFlagExpression usage to the InfBuildData
Posted by yi1 li 2 years, 1 month ago
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=1446

FeatureFlagExpression Support in LibraryClasses/Guids/Ppi/Protocols/
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 <bob.c.feng@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Heng Luo <heng.luo@intel.com>
Signed-off-by: yi1 li <yi1.li@intel.com>
Signed-off-by: Zhiju.Fan <zhijux.fan@intel.com>

yi1 li (2):
  BaseTools:Add the FeatureFlagExpression usage to the InfBuildData
  BaseTools:Add the FeatureFlagExpression usage to the Source Section

 BaseTools/Source/Python/Common/Expression.py  |  2 +-
 BaseTools/Source/Python/Common/GlobalData.py  |  1 +
 .../Source/Python/Workspace/InfBuildData.py   | 81 ++++++++++++++++---
 .../Source/Python/Workspace/MetaFileParser.py |  4 +
 .../Python/Workspace/WorkspaceCommon.py       | 10 ++-
 5 files changed, 86 insertions(+), 12 deletions(-)

-- 
2.33.0.windows.2



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#87355): https://edk2.groups.io/g/devel/message/87355
Mute This Topic: https://groups.io/mt/89636885/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-