]> git.proxmox.com Git - mirror_edk2.git/blobdiff - edksetup.bat
BaseTools/Conf/tools_def.template:
[mirror_edk2.git] / edksetup.bat
index 9bb95a54862394e6136f93b5d14c34d787f84770..8f3e1ec94f27528e0bbb0a41aac886787145cc42 100644 (file)
@@ -55,11 +55,11 @@ goto check_vc
 @REM platform emulation environment.\r
 if defined VCINSTALLDIR goto check_cygwin\r
 if defined VS71COMNTOOLS (\r
- @REM Use Visual Studio .NET 2003 if it is installed\r
- call "%VS71COMNTOOLS%\vsvars32.bat"\r
 @REM Use Visual Studio .NET 2003 if it is installed\r
 call "%VS71COMNTOOLS%\vsvars32.bat"\r
 ) else if defined VS80COMNTOOLS (\r
- @REM Use Visual Studio 2005 iff Visual Studio .NET 2003 is not installed.\r
- call "%VS80COMNTOOLS%\vsvars32.bat"\r
 @REM Use Visual Studio 2005 iff Visual Studio .NET 2003 is not installed.\r
 call "%VS80COMNTOOLS%\vsvars32.bat"\r
 ) else (\r
   echo.\r
   echo !!! WARNING !!!! Cannot find Visual Studio !!!\r
@@ -68,6 +68,7 @@ if defined VS71COMNTOOLS (
 goto check_new_build\r
 \r
 :check_cygwin\r
+@if /I "%1"=="NewBuild" goto NewBuild\r
 if defined CYGWIN_HOME goto check_java\r
 if exist c:\cygwin (\r
   set CYGWIN_HOME=c:\cygwin\r