Added help message for "NewBuild" and "--nt32" option

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4111 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
jwang36 2007-10-15 01:58:41 +00:00
parent 1eaf341c99
commit 26096d369d
1 changed files with 10 additions and 7 deletions

View File

@ -32,6 +32,12 @@ pushd .
cd %~dp0 cd %~dp0
set WORKSPACE=%CD% set WORKSPACE=%CD%
@if /I "%1"=="-h" goto Usage
@if /I "%1"=="-help" goto Usage
@if /I "%1"=="--help" goto Usage
@if /I "%1"=="/h" goto Usage
@if /I "%1"=="/?" goto Usage
@if /I "%1"=="/help" goto Usage
@if /I not "%1"=="--nt32" goto check_new_build @if /I not "%1"=="--nt32" goto check_new_build
shift shift
goto check_vc goto check_vc
@ -95,12 +101,6 @@ echo Resetting the PATH variable to include the FRAMEWORK_TOOLS_PATH for this WO
:path_ok :path_ok
@if /I "%1"=="-h" goto Usage
@if /I "%1"=="-help" goto Usage
@if /I "%1"=="--help" goto Usage
@if /I "%1"=="/h" goto Usage
@if /I "%1"=="/?" goto Usage
@if /I "%1"=="/help" goto Usage
@if /I "%1"=="ForceRebuild" goto ForceBuild @if /I "%1"=="ForceRebuild" goto ForceBuild
@if /I "%1"=="Reconfig" goto Reconfig @if /I "%1"=="Reconfig" goto Reconfig
@ -273,7 +273,9 @@ goto end
:Usage :Usage
echo. echo.
echo Usage: %0 [Rebuild] [ForceRebuild] [Reconfig] echo Usage: %0 [--nt32] [NewBuild] [Rebuild] [ForceRebuild] [Reconfig]
echo --nt32 Call vsvars32.bat for NT32 platform build
echo NewBuild Using new build tools in BaseTools package
echo Rebuild: Incremental build, only build those updated tools; echo Rebuild: Incremental build, only build those updated tools;
echo ForceRebuild: Rebuild all tools neither updated or not; echo ForceRebuild: Rebuild all tools neither updated or not;
echo Reconfig: Reinstall target.txt, tools_def.txt, FrameworkDatabase.db. echo Reconfig: Reinstall target.txt, tools_def.txt, FrameworkDatabase.db.
@ -282,6 +284,7 @@ echo Note that target.template, tools_def.template, FrameworkDatabase.template
echo only copied to target.txt, tools_def.txt, FrameworkDatabase.db respectively if they echo only copied to target.txt, tools_def.txt, FrameworkDatabase.db respectively if they
echo are not existed. Using option [Reconfig] to do the force copy. echo are not existed. Using option [Reconfig] to do the force copy.
echo. echo.
@goto end
:NewBuild :NewBuild
@IF NOT EXIST "BaseTools\toolsetup.bat" goto AntBuild @IF NOT EXIST "BaseTools\toolsetup.bat" goto AntBuild