From: jwang36 Date: Mon, 15 Oct 2007 01:58:41 +0000 (+0000) Subject: Added help message for "NewBuild" and "--nt32" option X-Git-Tag: edk2-stable201903~21914 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=26096d369d88f4101847b32e8b59dde43f6fe47c 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 --- 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