[edk2] [Patch] Build spec: Add DSC DEFAULT as optional line in Global PCD Section

Yonghong Zhu posted 1 patch 6 years, 1 month ago
Failed in applying to current master (apply log)
13_build_reports/136_global_pcd_section.md | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
[edk2] [Patch] Build spec: Add DSC DEFAULT as optional line in Global PCD Section
Posted by Yonghong Zhu 6 years, 1 month ago
Because of the PCD value may override by build option, so current build
report also display the DSC DEFAULT value.

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>
---
 13_build_reports/136_global_pcd_section.md | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/13_build_reports/136_global_pcd_section.md b/13_build_reports/136_global_pcd_section.md
index c300920..a9661b6 100644
--- a/13_build_reports/136_global_pcd_section.md
+++ b/13_build_reports/136_global_pcd_section.md
@@ -106,11 +106,16 @@ gTokenSpaceGuid
                   0x0001FFF
 ```
 
 #### 13.6.2.2 Default (optional) line
 
-The second optional line is present if the value from the DEC was overridden.
+The second optional line is present if the value from the DSC was overridden
+by build option. It is formatted as follows:
+
+`DSC DEFAULT = <Value in PCD SectionSection in DSC>`
+
+The third optional line is present if the value from the DEC was overridden.
 It is formatted as follows:
 
 `DEC DEFAULT = <Value in DEC>`
 
 #### Example
-- 
2.6.1.windows.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
Re: [edk2] [Patch] Build spec: Add DSC DEFAULT as optional line in Global PCD Section
Posted by Gao, Liming 6 years, 1 month ago
Reviewed-by: Liming Gao <liming.gao@intel.com>

> -----Original Message-----
> From: Zhu, Yonghong
> Sent: Monday, March 19, 2018 9:49 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: [Patch] Build spec: Add DSC DEFAULT as optional line in Global PCD Section
> 
> Because of the PCD value may override by build option, so current build
> report also display the DSC DEFAULT value.
> 
> 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>
> ---
>  13_build_reports/136_global_pcd_section.md | 7 ++++++-
>  1 file changed, 6 insertions(+), 1 deletion(-)
> 
> diff --git a/13_build_reports/136_global_pcd_section.md b/13_build_reports/136_global_pcd_section.md
> index c300920..a9661b6 100644
> --- a/13_build_reports/136_global_pcd_section.md
> +++ b/13_build_reports/136_global_pcd_section.md
> @@ -106,11 +106,16 @@ gTokenSpaceGuid
>                    0x0001FFF
>  ```
> 
>  #### 13.6.2.2 Default (optional) line
> 
> -The second optional line is present if the value from the DEC was overridden.
> +The second optional line is present if the value from the DSC was overridden
> +by build option. It is formatted as follows:
> +
> +`DSC DEFAULT = <Value in PCD SectionSection in DSC>`
> +
> +The third optional line is present if the value from the DEC was overridden.
>  It is formatted as follows:
> 
>  `DEC DEFAULT = <Value in DEC>`
> 
>  #### Example
> --
> 2.6.1.windows.1

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