From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) (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 8D4D121951C90 for ; Tue, 25 Apr 2017 11:55:44 -0700 (PDT) Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga104.jf.intel.com with ESMTP; 25 Apr 2017 11:55:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.37,250,1488873600"; d="scan'208";a="92081460" Received: from mdkinney-mobl.amr.corp.intel.com ([10.241.98.55]) by orsmga005.jf.intel.com with ESMTP; 25 Apr 2017 11:55:44 -0700 From: Michael Kinney To: edk2-devel@lists.01.org Cc: Liming Gao , Yonghong Zhu , Kevin W Shaw Date: Tue, 25 Apr 2017 11:55:39 -0700 Message-Id: <1493146540-13060-2-git-send-email-michael.d.kinney@intel.com> X-Mailer: git-send-email 2.6.3.windows.1 In-Reply-To: <1493146540-13060-1-git-send-email-michael.d.kinney@intel.com> References: <1493146540-13060-1-git-send-email-michael.d.kinney@intel.com> Subject: [ edk2-BuildSpecification PATCH 1/2] Clean up minor formatting issues 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: Tue, 25 Apr 2017 18:55:44 -0000 Cc: Liming Gao Cc: Yonghong Zhu Cc: Kevin W Shaw Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Michael Kinney --- .../43_pre-build_stage_overview.md | 22 ++++++++++------------ .../45_post-build_stage.md | 12 ++++++------ .../82_auto-generation_process.md | 2 +- 3 files changed, 17 insertions(+), 19 deletions(-) diff --git a/4_edk_ii_build_process_overview/43_pre-build_stage_overview.md b/4_edk_ii_build_process_overview/43_pre-build_stage_overview.md index 30177a8..0fde612 100644 --- a/4_edk_ii_build_process_overview/43_pre-build_stage_overview.md +++ b/4_edk_ii_build_process_overview/43_pre-build_stage_overview.md @@ -250,21 +250,19 @@ directory name and the `BASE_NAME` of the module's INF file. * Create the module Makefiles - Individual modules may require different compilation options, over-riding any - global definitions. If an INF file is not listed in the DSC file and is listed - in the FDF file, the parsing tools must check if the INF in the FDF file - contains `PatchableInModule` or `DynamicEX` entries. If the INF lists other PCD - access methods (FeatureFlag, - - FixedAtBuild or Dynamic), and the INF contains files listed in a `[Sources]` - section and does not contain a `[Binaries]` section, then the build tools must - break the build with an appropriate error message. + Individual modules may require different compilation options, over-riding + any global definitions. If an INF file is not listed in the DSC file and is + listed in the FDF file, the parsing tools must check if the INF in the FDF + file contains `PatchableInModule` or `DynamicEX` entries. If the INF lists + other PCD access methods (FeatureFlag, FixedAtBuild or Dynamic), and the INF + contains files listed in a `[Sources]` section and does not contain a + `[Binaries]` section, then the build tools must break the build with an + appropriate error message. 6. The tools are also responsible for creating binary files containing all `DynamicEx` PCDs that are listed in the DSC, FDF and Binary INF files - (listed in the FDF file). - These binaries are automatically placed into the (PEIM and DXE) PCD driver FFS - files. + (listed in the FDF file). These binaries are automatically placed into the + (PEIM and DXE) PCD driver FFS files. 7. If the build option, --ignore-sources is present on the build command-line, none of the source files listed in a [Sources] section will be processed, diff --git a/4_edk_ii_build_process_overview/45_post-build_stage.md b/4_edk_ii_build_process_overview/45_post-build_stage.md index c8a90e1..c35d9be 100644 --- a/4_edk_ii_build_process_overview/45_post-build_stage.md +++ b/4_edk_ii_build_process_overview/45_post-build_stage.md @@ -64,12 +64,12 @@ following must occur. that entry must be ignored - these files are not to be placed into an `EFI_SECTION_DISPOSABLE` encapsulation section. -2. If an INF not listed in the DSC file. is listed in the FDF file and the INF - contains a `[PatchPcd]` section, the tools must test to determine if the PCD - is listed in the DSC (or FDF) file, and whether the value listed in the DSC - (or FDF) file is different from the value in the INF file. If the value is - different, the tools must patch the binary .efi file with the value from the - FDF or DSC file prior to creating the EFI leaf section. +2. If an INF not listed in the DSC file, but is listed in the FDF file and the + INF contains a `[PatchPcd]` section, the tools must test to determine if the + PCD is listed in the DSC (or FDF) file, and whether the value listed in the + DSC (or FDF) file is different from the value in the INF file. If the value + is different, the tools must patch the binary .efi file with the value from + the FDF or DSC file prior to creating the EFI leaf section. 3. The tools are also responsible for creating binary files containing all DynamicEx PCDs that are listed in the DSC, FDF and Binary INF files (listed 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 6868d62..92b6d99 100644 --- a/8_pre-build_autogen_stage/82_auto-generation_process.md +++ b/8_pre-build_autogen_stage/82_auto-generation_process.md @@ -772,7 +772,7 @@ that is unique to the GUID known as the TokenSpaceGuidCName. The following list defines the five PCD access methods. -* **FeatureFlag PCD**; used in conditional directive statements in code. +* **FeatureFlag PCD** - used in conditional directive statements in code. * **PatchableInModule PCD** - a volatile variable that can be updated either during a build or by a tool that knows the offset and data size of the -- 2.6.3.windows.1