public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 0/2] BaseTools:Add the FeatureFlagExpression usage to the InfBuildData
@ 2022-03-08  7:07 yi1 li
  2022-03-08  7:07 ` [PATCH 1/2] " yi1 li
  2022-03-08  7:07 ` [PATCH 2/2] BaseTools:Add the FeatureFlagExpression usage to the Source Section yi1 li
  0 siblings, 2 replies; 3+ messages in thread
From: yi1 li @ 2022-03-08  7:07 UTC (permalink / raw)
  To: devel; +Cc: yi1 li, Bob Feng, Liming Gao, Zhiju . Fan

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 <liming.gao@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   | 79 ++++++++++++++++---
 .../Source/Python/Workspace/MetaFileParser.py |  4 +
 .../Python/Workspace/WorkspaceCommon.py       | 10 ++-
 5 files changed, 84 insertions(+), 12 deletions(-)

-- 
2.33.0.windows.2


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-03-08  7:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-08  7:07 [PATCH 0/2] BaseTools:Add the FeatureFlagExpression usage to the InfBuildData yi1 li
2022-03-08  7:07 ` [PATCH 1/2] " yi1 li
2022-03-08  7:07 ` [PATCH 2/2] BaseTools:Add the FeatureFlagExpression usage to the Source Section yi1 li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox