From nobody Sat Nov 2 10:32:24 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Authentication-Results: mx.zoho.com; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org; Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1492033150598538.9877470706748; Wed, 12 Apr 2017 14:39:10 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id BA0FA20D7648E; Wed, 12 Apr 2017 14:39:06 -0700 (PDT) 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 55B5921939234 for ; Wed, 12 Apr 2017 14:39:05 -0700 (PDT) Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Apr 2017 14:39:04 -0700 Received: from mdkinney-mobl.amr.corp.intel.com ([10.252.134.215]) by orsmga004.jf.intel.com with ESMTP; 12 Apr 2017 14:39:04 -0700 X-Original-To: edk2-devel@lists.01.org X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.37,191,1488873600"; d="scan'208";a="76699798" From: Michael Kinney To: edk2-devel@lists.01.org Date: Wed, 12 Apr 2017 14:38:59 -0700 Message-Id: <1492033139-8604-2-git-send-email-michael.d.kinney@intel.com> X-Mailer: git-send-email 2.6.3.windows.1 In-Reply-To: <1492033139-8604-1-git-send-email-michael.d.kinney@intel.com> References: <1492033139-8604-1-git-send-email-michael.d.kinney@intel.com> Subject: [edk2] [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: , Cc: Kevin W Shaw , Liming Gao MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail: RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" 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 environment 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 Reviewed-by: Yonghong Zhu =20 --- 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 `[Define= s]`, `[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 DSC a= nd +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 = = |= | --=20 2.6.3.windows.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel