public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: <Frank.Orr@dell.com>
To: <edk2-devel@lists.01.org>
Subject: FeatureFlagExpression
Date: Tue, 22 Aug 2017 23:21:19 +0000	[thread overview]
Message-ID: <a0256739d3fd4b08a47046b27bf66876@AUSX13MPS308.AMER.DELL.COM> (raw)

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 ?

Thanks,.....Frank




             reply	other threads:[~2017-08-22 23:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-22 23:21 Frank.Orr [this message]
2017-08-22 23:54 ` FeatureFlagExpression Laszlo Ersek
2017-08-23  2:47   ` FeatureFlagExpression Gao, Liming

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a0256739d3fd4b08a47046b27bf66876@AUSX13MPS308.AMER.DELL.COM \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox