[edk2] [edk2-BuildSpecification PATCH] Only copy "TianoCore" UserExtensions to AsBuilt INF

Michael Kinney posted 1 patch 7 years ago
Failed in applying to current master (apply log)
8_pre-build_autogen_stage/87_generated_asbuilt_inf_files.md | 9 +++++----
README.md                                                   | 3 ++-
2 files changed, 7 insertions(+), 5 deletions(-)
[edk2] [edk2-BuildSpecification PATCH] Only copy "TianoCore" UserExtensions to AsBuilt INF
Posted by Michael Kinney 7 years ago
https://bugzilla.tianocore.org/show_bug.cgi?id=471

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/87_generated_asbuilt_inf_files.md | 9 +++++----
 README.md                                                   | 3 ++-
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/8_pre-build_autogen_stage/87_generated_asbuilt_inf_files.md b/8_pre-build_autogen_stage/87_generated_asbuilt_inf_files.md
index 64685ce..9e89d83 100644
--- a/8_pre-build_autogen_stage/87_generated_asbuilt_inf_files.md
+++ b/8_pre-build_autogen_stage/87_generated_asbuilt_inf_files.md
@@ -465,7 +465,8 @@ from a sources section.
 
 ### 8.7.14 [UserExtensions] Section
 
-The build tools must copy all of the source INF's `[UserExtensions]` sections
-into the generated INF. The EDK II build tools will ignore these sections,
-however other vendors may provide tools that have a priori knowledge of how to
-process these sections.
+Any `[UserExtensions]` sections that are present in the source INF with a
+UserId of "TianoCore" will be copied into the generated INF. `[UserExtensions]`
+sections with other UserId values will not be copied to the generated INF.
+The EDK II build tools will ignore these sections, however other vendors may
+provide tools that have a priori knowledge of how to process these sections.
diff --git a/README.md b/README.md
index 3bd1d32..5696cc3 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    |
+|            | [#471](https://bugzilla.tianocore.org/show_bug.cgi?id=471) Build spec: only copy the "TianoCore" Userextension section into "As Built" INF                                                                                                                                                                                                                          |               |
-- 
2.6.3.windows.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
Re: [edk2] [edk2-BuildSpecification PATCH] Only copy "TianoCore" UserExtensions to AsBuilt INF
Posted by Zhu, Yonghong 7 years ago
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>

Best Regards,
Zhu Yonghong

-----Original Message-----
From: Kinney, Michael D 
Sent: Thursday, April 13, 2017 5:11 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] Only copy "TianoCore" UserExtensions to AsBuilt INF

https://bugzilla.tianocore.org/show_bug.cgi?id=471

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/87_generated_asbuilt_inf_files.md | 9 +++++----
 README.md                                                   | 3 ++-
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/8_pre-build_autogen_stage/87_generated_asbuilt_inf_files.md b/8_pre-build_autogen_stage/87_generated_asbuilt_inf_files.md
index 64685ce..9e89d83 100644
--- a/8_pre-build_autogen_stage/87_generated_asbuilt_inf_files.md
+++ b/8_pre-build_autogen_stage/87_generated_asbuilt_inf_files.md
@@ -465,7 +465,8 @@ from a sources section.
 
 ### 8.7.14 [UserExtensions] Section
 
-The build tools must copy all of the source INF's `[UserExtensions]` sections -into the generated INF. The EDK II build tools will ignore these sections, -however other vendors may provide tools that have a priori knowledge of how to -process these sections.
+Any `[UserExtensions]` sections that are present in the source INF with 
+a UserId of "TianoCore" will be copied into the generated INF. 
+`[UserExtensions]` sections with other UserId values will not be copied to the generated INF.
+The EDK II build tools will ignore these sections, however other 
+vendors may provide tools that have a priori knowledge of how to process these sections.
diff --git a/README.md b/README.md
index 3bd1d32..5696cc3 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    |
+|            | [#471](https://bugzilla.tianocore.org/show_bug.cgi?id=471) Build spec: only copy the "TianoCore" Userextension section into "As Built" INF                                                                                                                                                                                                                          |               |
--
2.6.3.windows.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel