From: "Zhu, Yonghong" <yonghong.zhu@intel.com>
To: "Kinney, Michael D" <michael.d.kinney@intel.com>,
"edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Cc: "Gao, Liming" <liming.gao@intel.com>,
"Shaw, Kevin W" <kevin.w.shaw@intel.com>,
"Zhu, Yonghong" <yonghong.zhu@intel.com>
Subject: Re: [edk2-BuildSpecification PATCH] Use macros in !include file paths
Date: Thu, 13 Apr 2017 02:25:36 +0000 [thread overview]
Message-ID: <B9726D6DCCFB8B4CA276A9169B02216D51E5CDCF@SHSMSX103.ccr.corp.intel.com> (raw)
In-Reply-To: <1492033139-8604-2-git-send-email-michael.d.kinney@intel.com>
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
Best Regards,
Zhu Yonghong
-----Original Message-----
From: Kinney, Michael D
Sent: Thursday, April 13, 2017 5:39 AM
To: edk2-devel@lists.01.org
Cc: Gao, Liming <liming.gao@intel.com>; Zhu, Yonghong <yonghong.zhu@intel.com>; Shaw, Kevin W <kevin.w.shaw@intel.com>
Subject: [edk2-BuildSpecification PATCH] Use macros in !include file paths
https://bugzilla.tianocore.org/show_bug.cgi?id=472
The EBNF already allows !include statements to use
$(MACRO) values in the file path. This change updates the description and examples for !include statements to allow the use of macros and specific environment variables in !include file paths.
Cc: Liming Gao <liming.gao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Cc: Kevin W Shaw <kevin.w.shaw@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Michael Kinney <michael.d.kinney@intel.com>
---
8_pre-build_autogen_stage/82_auto-generation_process.md | 4 ++--
README.md | 3 ++-
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/8_pre-build_autogen_stage/82_auto-generation_process.md b/8_pre-build_autogen_stage/82_auto-generation_process.md
index 84f6b6b..deb1c47 100644
--- a/8_pre-build_autogen_stage/82_auto-generation_process.md
+++ b/8_pre-build_autogen_stage/82_auto-generation_process.md
@@ -410,8 +410,8 @@ in the DSC file can be used for file names, paths, PCD values, in the conditional directives. Macros can also be defined or used in the `[Defines]`, `[LibraryClasses]`, `[Libraries]`, `[Components]` and all PCD sections.
-Macros defined by the user cannot be used in the !include statements in either -the DSC or FDF file.
+Macros defined by the user may be used in the !include statements in
+DSC and FDF files.
`EDK_GLOBAL` type macros defined in the DSC file can be used in later sections of the DSC, FDF and any of the included EDK INF files.
diff --git a/README.md b/README.md
index 3bd1d32..ce76bb4 100644
--- a/README.md
+++ b/README.md
@@ -200,4 +200,5 @@ Copyright (c) 2008-2017, Intel Corporation. All rights reserved.
| | Remove Unicode file storage requirement; refer to the Multi-String UNI File Format Specification instead. | |
| | Clarify BUILDRULEORDER | |
| | Add support for INF statement in an FD region. | |
-| 1.27 | Convert to Gitbook | March 2017 |
+| 1.27 | Convert to Gitbook | April 2017 |
+| | [#472](https://bugzilla.tianocore.org/show_bug.cgi?id=472) [Build Spec] Extend macro usage in the !include statements for DSC/FDF files | |
--
2.6.3.windows.1
prev parent reply other threads:[~2017-04-13 2:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-12 21:38 [edk2-BuildSpecification PATCH] Use macros in !include file paths Michael Kinney
2017-04-12 21:38 ` Michael Kinney
2017-04-13 2:25 ` Zhu, Yonghong [this message]
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=B9726D6DCCFB8B4CA276A9169B02216D51E5CDCF@SHSMSX103.ccr.corp.intel.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