From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 86E8820D7B916 for ; Wed, 12 Apr 2017 19:25:41 -0700 (PDT) Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Apr 2017 19:25:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.37,192,1488873600"; d="scan'208";a="86820648" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga005.jf.intel.com with ESMTP; 12 Apr 2017 19:25:40 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 12 Apr 2017 19:25:40 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.117]) by shsmsx102.ccr.corp.intel.com ([169.254.2.246]) with mapi id 14.03.0319.002; Thu, 13 Apr 2017 10:25:36 +0800 From: "Zhu, Yonghong" To: "Kinney, Michael D" , "edk2-devel@lists.01.org" CC: "Gao, Liming" , "Shaw, Kevin W" , "Zhu, Yonghong" Thread-Topic: [edk2-BuildSpecification PATCH] Use macros in !include file paths Thread-Index: AQHSs9VFG+ZCLSt8CE6tIBmd/jJtW6HBvJyAgADWIyA= Date: Thu, 13 Apr 2017 02:25:36 +0000 Message-ID: References: <1492033139-8604-1-git-send-email-michael.d.kinney@intel.com> <1492033139-8604-2-git-send-email-michael.d.kinney@intel.com> In-Reply-To: <1492033139-8604-2-git-send-email-michael.d.kinney@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNzU1N2MyOTctNDc2Mi00M2YzLWJiMjMtNDZkZmRhNTM1YWI5IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IkpORWdTRTRUVEhKZkhCNzltVWtjcmczbVwvSStHYlYzRTFKbmgzM0hiVW1VPSJ9 x-ctpclassification: CTP_IC dlp-product: dlpe-windows dlp-version: 10.0.102.7 dlp-reaction: no-action x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [edk2-BuildSpecification PATCH] Use macros in !include file paths X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Apr 2017 02:25:41 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Yonghong Zhu =20 Best Regards, Zhu Yonghong -----Original Message----- From: Kinney, Michael D=20 Sent: Thursday, April 13, 2017 5:39 AM To: edk2-devel@lists.01.org Cc: Gao, Liming ; Zhu, Yonghong ; Shaw, Kevin W Subject: [edk2-BuildSpecification PATCH] Use macros in !include file paths https://bugzilla.tianocore.org/show_bug.cgi?id=3D472 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 en= vironment variables in !include file paths. Cc: Liming Gao Cc: Yonghong Zhu Cc: Kevin W Shaw Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Michael Kinney --- 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_pr= e-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. =20 -Macros defined by the user cannot be used in the !include statements in ei= ther -the DSC or FDF file. +Macros defined by the user may be used in the !include statements in=20 +DSC and FDF files. =20 `EDK_GLOBAL` type macros defined in the DSC file can be used in later sect= ions 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 = = = = | M= arch 2017 | +| 1.27 | Convert to Gitbook = = = = | A= pril 2017 | +| | [#472](https://bugzilla.tianocore.org/show_bug.cgi?id=3D472= ) [Build Spec] Extend macro usage in the !include statements for DSC/FDF fi= les = = |= | -- 2.6.3.windows.1