public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Laszlo Ersek <lersek@redhat.com>
To: Frank.Orr@dell.com, edk2-devel@lists.01.org
Subject: Re: FeatureFlagExpression
Date: Wed, 23 Aug 2017 01:54:42 +0200	[thread overview]
Message-ID: <12eaddeb-bfc8-6cf2-fd52-0d377be5e776@redhat.com> (raw)
In-Reply-To: <a0256739d3fd4b08a47046b27bf66876@AUSX13MPS308.AMER.DELL.COM>

On 08/23/17 01:21, Frank.Orr@dell.com 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


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

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-22 23:21 FeatureFlagExpression Frank.Orr
2017-08-22 23:54 ` Laszlo Ersek [this message]
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=12eaddeb-bfc8-6cf2-fd52-0d377be5e776@redhat.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