summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524>2007-10-15 01:58:41 +0000
committerjwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524>2007-10-15 01:58:41 +0000
commit26096d369d88f4101847b32e8b59dde43f6fe47c (patch)
tree9719aaece68142789022e2877501ebc45b19fa65
parent1eaf341c99579fea0de80f1f06625261fa3f05de (diff)
downloadedk2-26096d369d88f4101847b32e8b59dde43f6fe47c.tar.gz
edk2-26096d369d88f4101847b32e8b59dde43f6fe47c.tar.bz2
edk2-26096d369d88f4101847b32e8b59dde43f6fe47c.zip
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
-rw-r--r--edksetup.bat17
1 files changed, 10 insertions, 7 deletions
diff --git a/edksetup.bat b/edksetup.bat
index 37c1b26159..475d830db9 100644
--- a/edksetup.bat
+++ b/edksetup.bat
@@ -32,6 +32,12 @@ pushd .
cd %~dp0
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
shift
goto check_vc
@@ -95,12 +101,6 @@ echo Resetting the PATH variable to include the FRAMEWORK_TOOLS_PATH for this WO
: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"=="Reconfig" goto Reconfig
@@ -273,7 +273,9 @@ goto end
:Usage
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 ForceRebuild: Rebuild all tools neither updated or not;
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 are not existed. Using option [Reconfig] to do the force copy.
echo.
+@goto end
:NewBuild
@IF NOT EXIST "BaseTools\toolsetup.bat" goto AntBuild