* [Patch] BaseTools: update help info for -Y option to include 'HASH'
@ 2017-09-04 3:40 Yonghong Zhu
2017-09-04 5:09 ` Gao, Liming
0 siblings, 1 reply; 2+ messages in thread
From: Yonghong Zhu @ 2017-09-04 3:40 UTC (permalink / raw)
To: edk2-devel; +Cc: Liming Gao
Per build spec,the default set of flags for -Y option include 'HASH',
so this patch to update the help info.
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com>
---
BaseTools/Source/Python/build/build.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/BaseTools/Source/Python/build/build.py b/BaseTools/Source/Python/build/build.py
index 6269bb9..eb80c1f 100644
--- a/BaseTools/Source/Python/build/build.py
+++ b/BaseTools/Source/Python/build/build.py
@@ -2229,11 +2229,11 @@ def MyOptionParser():
Parser.add_option("-D", "--define", action="append", type="string", dest="Macros", help="Macro: \"Name [= Value]\".")
Parser.add_option("-y", "--report-file", action="store", dest="ReportFile", help="Create/overwrite the report to the specified filename.")
Parser.add_option("-Y", "--report-type", action="append", type="choice", choices=['PCD','LIBRARY','FLASH','DEPEX','BUILD_FLAGS','FIXED_ADDRESS','HASH','EXECUTION_ORDER'], dest="ReportType", default=[],
help="Flags that control the type of build report to generate. Must be one of: [PCD, LIBRARY, FLASH, DEPEX, BUILD_FLAGS, FIXED_ADDRESS, HASH, EXECUTION_ORDER]. "\
- "To specify more than one flag, repeat this option on the command line and the default flag set is [PCD, LIBRARY, FLASH, DEPEX, BUILD_FLAGS, FIXED_ADDRESS]")
+ "To specify more than one flag, repeat this option on the command line and the default flag set is [PCD, LIBRARY, FLASH, DEPEX, HASH, BUILD_FLAGS, FIXED_ADDRESS]")
Parser.add_option("-F", "--flag", action="store", type="string", dest="Flag",
help="Specify the specific option to parse EDK UNI file. Must be one of: [-c, -s]. -c is for EDK framework UNI file, and -s is for EDK UEFI UNI file. "\
"This option can also be specified by setting *_*_*_BUILD_FLAGS in [BuildOptions] section of platform DSC. If they are both specified, this value "\
"will override the setting in [BuildOptions] section of platform DSC.")
Parser.add_option("-N", "--no-cache", action="store_true", dest="DisableCache", default=False, help="Disable build cache mechanism")
--
2.6.1.windows.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Patch] BaseTools: update help info for -Y option to include 'HASH'
2017-09-04 3:40 [Patch] BaseTools: update help info for -Y option to include 'HASH' Yonghong Zhu
@ 2017-09-04 5:09 ` Gao, Liming
0 siblings, 0 replies; 2+ messages in thread
From: Gao, Liming @ 2017-09-04 5:09 UTC (permalink / raw)
To: Zhu, Yonghong, edk2-devel@lists.01.org
Reviewed-by: Liming Gao <liming.gao@intel.com>
>-----Original Message-----
>From: Zhu, Yonghong
>Sent: Monday, September 04, 2017 11:41 AM
>To: edk2-devel@lists.01.org
>Cc: Gao, Liming <liming.gao@intel.com>
>Subject: [Patch] BaseTools: update help info for -Y option to include 'HASH'
>
>Per build spec,the default set of flags for -Y option include 'HASH',
>so this patch to update the help info.
>
>Cc: Liming Gao <liming.gao@intel.com>
>Contributed-under: TianoCore Contribution Agreement 1.1
>Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com>
>---
> BaseTools/Source/Python/build/build.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/BaseTools/Source/Python/build/build.py
>b/BaseTools/Source/Python/build/build.py
>index 6269bb9..eb80c1f 100644
>--- a/BaseTools/Source/Python/build/build.py
>+++ b/BaseTools/Source/Python/build/build.py
>@@ -2229,11 +2229,11 @@ def MyOptionParser():
> Parser.add_option("-D", "--define", action="append", type="string",
>dest="Macros", help="Macro: \"Name [= Value]\".")
>
> Parser.add_option("-y", "--report-file", action="store", dest="ReportFile",
>help="Create/overwrite the report to the specified filename.")
> Parser.add_option("-Y", "--report-type", action="append", type="choice",
>choices=['PCD','LIBRARY','FLASH','DEPEX','BUILD_FLAGS','FIXED_ADDRESS','HA
>SH','EXECUTION_ORDER'], dest="ReportType", default=[],
> help="Flags that control the type of build report to generate. Must be
>one of: [PCD, LIBRARY, FLASH, DEPEX, BUILD_FLAGS, FIXED_ADDRESS, HASH,
>EXECUTION_ORDER]. "\
>- "To specify more than one flag, repeat this option on the command
>line and the default flag set is [PCD, LIBRARY, FLASH, DEPEX, BUILD_FLAGS,
>FIXED_ADDRESS]")
>+ "To specify more than one flag, repeat this option on the command
>line and the default flag set is [PCD, LIBRARY, FLASH, DEPEX, HASH,
>BUILD_FLAGS, FIXED_ADDRESS]")
> Parser.add_option("-F", "--flag", action="store", type="string", dest="Flag",
> help="Specify the specific option to parse EDK UNI file. Must be one of: [-
>c, -s]. -c is for EDK framework UNI file, and -s is for EDK UEFI UNI file. "\
> "This option can also be specified by setting *_*_*_BUILD_FLAGS in
>[BuildOptions] section of platform DSC. If they are both specified, this value "\
> "will override the setting in [BuildOptions] section of platform DSC.")
> Parser.add_option("-N", "--no-cache", action="store_true",
>dest="DisableCache", default=False, help="Disable build cache mechanism")
>--
>2.6.1.windows.1
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-09-04 5:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-04 3:40 [Patch] BaseTools: update help info for -Y option to include 'HASH' Yonghong Zhu
2017-09-04 5:09 ` Gao, Liming
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox