On 08/23/17 01:21, [email protected] wrote: > Dell - Internal Use - Confidential > > I'm trying to use this feature as described in various edk2 documents with > zero success. > For example, in the INF spec 1.25, the following is defined for the protocols > section : > > > > The formats for entries in this section is: > > gEfiProtocolCName [ | FeatureFlagExpression] ## Usage comment > > When a FeatureFlagExpression is present, if the expression evaluates to TRUE, > then the Protocal entry is valid. If the expression evaluates to FALSE, then > the EDK II build tools must ignore the entry. > > The following is an example of the [Protocols] section. > > [Protocols] > > gEfiDecompressProtocolGuid > > gEfiLoadFileProtocolGuid > > > Does anyone have any examples showing the use of a FeatureFlagExpression ?
See e.g. "MdePkg/Library/UefiLib/UefiLib.inf". Thanks Laszlo _______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel

