[edk2] [edk2-DSCSpecification Patch] DSC Spec: Remove Restriction on Using NULL in [LibraryClasses] Section

Yonghong Zhu posted 1 patch 7 years, 4 months ago
Failed in applying to current master (apply log)
2_dsc_overview/27_[libraryclasses]_section_processing.md | 5 -----
README.md                                                | 1 +
2 files changed, 1 insertion(+), 5 deletions(-)
[edk2] [edk2-DSCSpecification Patch] DSC Spec: Remove Restriction on Using NULL in [LibraryClasses] Section
Posted by Yonghong Zhu 7 years, 4 months ago
https://bugzilla.tianocore.org/show_bug.cgi?id=645

Cc: Liming Gao <liming.gao@intel.com>
Cc: Michael Kinney <michael.d.kinney@intel.com>
Cc: Kevin W Shaw <kevin.w.shaw@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com>
---
 2_dsc_overview/27_[libraryclasses]_section_processing.md | 5 -----
 README.md                                                | 1 +
 2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/2_dsc_overview/27_[libraryclasses]_section_processing.md b/2_dsc_overview/27_[libraryclasses]_section_processing.md
index 646cdfc..14ac9c8 100644
--- a/2_dsc_overview/27_[libraryclasses]_section_processing.md
+++ b/2_dsc_overview/27_[libraryclasses]_section_processing.md
@@ -64,15 +64,10 @@ Format for entries in this section is as follows:
 LibraryClassName|Path/To/LibInstanceName.inf
 LibraryClassName1|Path/To/LibInstanceName1.inf
 ```
 
 **********
-**Note:** The reserved library class keyword, `NULL` is not permitted in any
-of the `[LibraryClasses]` sections. The `NULL` Library class keyword is
-only permitted within the `[Components]` section's INF file
-`<LibraryClasses>` subsection.
-**********
 **Note:** "LibraryClassName" is a keyword in the first field of the above
 example format can not be `NULL`. The "LibraryClassName" name must be unique
 to an instance specified in the second field. All INF files that require a
 LibraryClassName will use this instance when linked to the other libraries
 or modules.
diff --git a/README.md b/README.md
index 6d91eda..94386af 100644
--- a/README.md
+++ b/README.md
@@ -181,5 +181,6 @@ Copyright (c) 2006-2017, Intel Corporation. All rights reserved.
 |            | [#484](https://bugzilla.tianocore.org/show_bug.cgi?id=484) DSC spec: support Prebuild and Postbuild in the [Defines] section                                                                                                                                                                 |                |
 |            | [#353](https://bugzilla.tianocore.org/show_bug.cgi?id=353) Build spec: Allow nested includes in DSC and FDF files                                                                                                                                                                            |                |
 |            | [#521](https://bugzilla.tianocore.org/show_bug.cgi?id=521) DSC spec: add clarification for mixed PCD usage in the DSC spec                                                                                                                                                                   |                |
 |            | [#519](https://bugzilla.tianocore.org/show_bug.cgi?id=519) DSC Spec: update Precedence of PCD Values                                                                                                                                                                                         |                |
 |            | [#584](https://bugzilla.tianocore.org/show_bug.cgi?id=584) DSC Spec: Update the DSC_SPECIFICATION version to 0x0001001B or 1.27                                                                                                                                                              |                |
+|            | [#645](https://bugzilla.tianocore.org/show_bug.cgi?id=645) DSC Spec: Remove Restriction on Using NULL in [LibraryClasses] Section                                                                                                                                                            |                |
-- 
2.6.1.windows.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
Re: [edk2] [edk2-DSCSpecification Patch] DSC Spec: Remove Restriction on Using NULL in [LibraryClasses] Section
Posted by Kinney, Michael D 7 years, 4 months ago
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>

> -----Original Message-----
> From: Zhu, Yonghong
> Sent: Wednesday, August 2, 2017 12:41 AM
> To: edk2-devel@lists.01.org
> Cc: Gao, Liming <liming.gao@intel.com>; Kinney, Michael D
> <michael.d.kinney@intel.com>; Shaw, Kevin W
> <kevin.w.shaw@intel.com>
> Subject: [edk2-DSCSpecification Patch] DSC Spec: Remove
> Restriction on Using NULL in [LibraryClasses] Section
> 
> https://bugzilla.tianocore.org/show_bug.cgi?id=645
> 
> Cc: Liming Gao <liming.gao@intel.com>
> Cc: Michael Kinney <michael.d.kinney@intel.com>
> Cc: Kevin W Shaw <kevin.w.shaw@intel.com>
> Contributed-under: TianoCore Contribution Agreement 1.1
> Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com>
> ---
>  2_dsc_overview/27_[libraryclasses]_section_processing.md | 5
> -----
>  README.md                                                | 1
> +
>  2 files changed, 1 insertion(+), 5 deletions(-)
> 
> diff --git
> a/2_dsc_overview/27_[libraryclasses]_section_processing.md
> b/2_dsc_overview/27_[libraryclasses]_section_processing.md
> index 646cdfc..14ac9c8 100644
> --- a/2_dsc_overview/27_[libraryclasses]_section_processing.md
> +++ b/2_dsc_overview/27_[libraryclasses]_section_processing.md
> @@ -64,15 +64,10 @@ Format for entries in this section is as
> follows:
>  LibraryClassName|Path/To/LibInstanceName.inf
>  LibraryClassName1|Path/To/LibInstanceName1.inf
>  ```
> 
>  **********
> -**Note:** The reserved library class keyword, `NULL` is not
> permitted in any
> -of the `[LibraryClasses]` sections. The `NULL` Library class
> keyword is
> -only permitted within the `[Components]` section's INF file
> -`<LibraryClasses>` subsection.
> -**********
>  **Note:** "LibraryClassName" is a keyword in the first field
> of the above
>  example format can not be `NULL`. The "LibraryClassName" name
> must be unique
>  to an instance specified in the second field. All INF files
> that require a
>  LibraryClassName will use this instance when linked to the
> other libraries
>  or modules.
> diff --git a/README.md b/README.md
> index 6d91eda..94386af 100644
> --- a/README.md
> +++ b/README.md
> @@ -181,5 +181,6 @@ Copyright (c) 2006-2017, Intel
> Corporation. All rights reserved.
>  |            |
> [#484](https://bugzilla.tianocore.org/show_bug.cgi?id=484) DSC
> spec: support Prebuild and Postbuild in the [Defines] section
> |                |
>  |            |
> [#353](https://bugzilla.tianocore.org/show_bug.cgi?id=353)
> Build spec: Allow nested includes in DSC and FDF files
> |                |
>  |            |
> [#521](https://bugzilla.tianocore.org/show_bug.cgi?id=521) DSC
> spec: add clarification for mixed PCD usage in the DSC spec
> |                |
>  |            |
> [#519](https://bugzilla.tianocore.org/show_bug.cgi?id=519) DSC
> Spec: update Precedence of PCD Values
> |                |
>  |            |
> [#584](https://bugzilla.tianocore.org/show_bug.cgi?id=584) DSC
> Spec: Update the DSC_SPECIFICATION version to 0x0001001B or
> 1.27
> |                |
> +|            |
> [#645](https://bugzilla.tianocore.org/show_bug.cgi?id=645) DSC
> Spec: Remove Restriction on Using NULL in [LibraryClasses]
> Section
> |                |
> --
> 2.6.1.windows.1

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