summaryrefslogtreecommitdiff
path: root/edksetup.bat
diff options
context:
space:
mode:
authorlhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524>2007-10-25 18:53:37 +0000
committerlhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524>2007-10-25 18:53:37 +0000
commit20e51d279346162607dd81c2d945b7f6681b3720 (patch)
tree26b56cbf5e290e33eb2f0ed5b65aadaf787d17c8 /edksetup.bat
parentc43a6c7ee36aeff086f5a2211650905ae0cfd33d (diff)
Added a test for NewBuild argument if this is the second time through the setup - VCINSTALLDIR is set, and cygwin is installed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4218 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'edksetup.bat')
-rw-r--r--edksetup.bat10
1 files changed, 6 insertions, 4 deletions
diff --git a/edksetup.bat b/edksetup.bat
index 9bb95a548..dbc631291 100644
--- a/edksetup.bat
+++ b/edksetup.bat
@@ -55,11 +55,11 @@ goto check_vc
@REM platform emulation environment.
if defined VCINSTALLDIR goto check_cygwin
if defined VS71COMNTOOLS (
- @REM Use Visual Studio .NET 2003 if it is installed
- call "%VS71COMNTOOLS%\vsvars32.bat"
+ @REM Use Visual Studio .NET 2003 if it is installed
+ call "%VS71COMNTOOLS%\vsvars32.bat"
) else if defined VS80COMNTOOLS (
- @REM Use Visual Studio 2005 iff Visual Studio .NET 2003 is not installed.
- call "%VS80COMNTOOLS%\vsvars32.bat"
+ @REM Use Visual Studio 2005 iff Visual Studio .NET 2003 is not installed.
+ call "%VS80COMNTOOLS%\vsvars32.bat"
) else (
echo.
echo !!! WARNING !!!! Cannot find Visual Studio !!!
@@ -68,6 +68,7 @@ if defined VS71COMNTOOLS (
goto check_new_build
:check_cygwin
+@if /I "%1"=="NewBuild" goto NewBuild
if defined CYGWIN_HOME goto check_java
if exist c:\cygwin (
set CYGWIN_HOME=c:\cygwin
@@ -293,6 +294,7 @@ echo.
@goto end
:NewBuild
+echo in NewBuild
@IF NOT EXIST "BaseTools\toolsetup.bat" goto AntBuild
if not defined EDK_TOOLS_PATH set EDK_TOOLS_PATH=%WORKSPACE%\BaseTools
@call BaseTools\toolsetup.bat