From: "Laszlo Ersek" <lersek@redhat.com>
To: devel@edk2.groups.io, ashishsingha@nvidia.com,
Bob Feng <bob.c.feng@intel.com>,
"Gao, Liming" <liming.gao@intel.com>
Subject: Re: [edk2-devel] Conditionally Include FDF File
Date: Mon, 20 Apr 2020 14:05:56 +0200 [thread overview]
Message-ID: <6f7df46f-1595-a81a-001f-27e002ba9a9f@redhat.com> (raw)
In-Reply-To: <BYAPR12MB2726D3CF9D89A277FBF8EDF9BAD40@BYAPR12MB2726.namprd12.prod.outlook.com>
On 04/20/20 07:25, Ashish Singhal wrote:
> I am trying to change my top-level FDF file layout by conditionally including an FDF depending on a build time define being passed or not.
> Any help getting around this
Try including unconditionally, and pushing down the !if into the includee.
This is known to work; see for example "NetworkPkg/Network.fdf.inc".
(The outermost "NETWORK_ENABLE" flag in "Network.fdf.inc" parallels your
use case.)
Thanks
Laszlo
next prev parent reply other threads:[~2020-04-20 12:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-20 5:25 Conditionally Include FDF File Ashish Singhal
2020-04-20 6:16 ` [edk2-devel] " Lin, Derek (HPS SW)
2020-04-20 7:07 ` Ashish Singhal
2020-04-20 7:42 ` Ashish Singhal
2020-04-20 12:05 ` Laszlo Ersek [this message]
2020-04-20 16:33 ` Ashish Singhal
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=6f7df46f-1595-a81a-001f-27e002ba9a9f@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