public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 0/2] BaseTools: TEST ONLY0 FeatureFlagExpression
@ 2022-03-17  6:15 yi1 li
  2022-03-17  6:15 ` [PATCH 1/2] BaseTools: TEST ONLY1 FeatureFlagExpression yi1 li
  2022-03-17  6:15 ` [PATCH 2/2] BaseTools: TEST ONLY2 FeatureFlagExpression yi1 li
  0 siblings, 2 replies; 3+ messages in thread
From: yi1 li @ 2022-03-17  6:15 UTC (permalink / raw)
  To: devel; +Cc: yi1 li

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.

Signed-off-by: yi1 li <yi1.li@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


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

end of thread, other threads:[~2022-03-17  6:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-17  6:15 [PATCH 0/2] BaseTools: TEST ONLY0 FeatureFlagExpression yi1 li
2022-03-17  6:15 ` [PATCH 1/2] BaseTools: TEST ONLY1 FeatureFlagExpression yi1 li
2022-03-17  6:15 ` [PATCH 2/2] BaseTools: TEST ONLY2 FeatureFlagExpression yi1 li

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