]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Added help message for "NewBuild" and "--nt32" option
authorjwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 15 Oct 2007 01:58:41 +0000 (01:58 +0000)
committerjwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 15 Oct 2007 01:58:41 +0000 (01:58 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4111 6f19259b-4bc3-4df7-8a09-765794883524

edksetup.bat

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