@REM This script can also be used to build the Win32 binaries\r
@REM\r
@REM Copyright (c) 2014, Intel Corporation. All rights reserved.<BR>\r
-@REM This program and the accompanying materials\r
-@REM are licensed and made available under the terms and conditions of the BSD License\r
-@REM which accompanies this distribution. The full text of the license may be found at\r
-@REM http://opensource.org/licenses/bsd-license.php\r
-@REM\r
-@REM THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-@REM WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+@REM SPDX-License-Identifier: BSD-2-Clause-Patent\r
@REM\r
@echo off\r
@if defined NT32_X64 @goto CheckLatest\r
\r
:CheckLatest\r
echo.\r
+@if defined VS140COMNTOOLS (\r
+ @set "COMMONTOOLSx64=C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64"\r
+ @goto SetVs\r
+)\r
+\r
@if defined VS120COMNTOOLS (\r
@set "COMMONTOOLSx64=C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\x86_amd64"\r
@goto SetVs\r
@goto End\r
\r
:RebuildTools\r
-@call python "%WORKSPACE%\BaseTools\Scripts\UpdateBuildVersions.py"\r
+@call python "%BASE_TOOLS_PATH%\Scripts\UpdateBuildVersions.py"\r
@set "BIN_DIR=%EDK_TOOLS_PATH%\Bin\Win32"\r
if not exist "%BIN_DIR%" @mkdir "%BIN_DIR%"\r
@echo Removing temporary and binary files\r