]> git.proxmox.com Git - mirror_edk2.git/commitdiff
BaseTools: Update toolsetup.bat to call the set_vsprefix_envs.bat
authorYonghong Zhu <yonghong.zhu@intel.com>
Fri, 28 Oct 2016 02:37:23 +0000 (10:37 +0800)
committerYonghong Zhu <yonghong.zhu@intel.com>
Wed, 2 Nov 2016 01:58:16 +0000 (09:58 +0800)
Update toolsetup.bat to call the set_vsprefix_envs.bat to set the PREFIX
envs.

Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
BaseTools/toolsetup.bat

index 17b723954fa8021a49e62c16d439e63bfab86ddd..890521434d60953b953b116d9540caa244fb5b0b 100755 (executable)
@@ -3,7 +3,7 @@
 @REM   however it may be executed directly from the BaseTools project folder\r
 @REM   if the file is not executed within a WORKSPACE\BaseTools folder.\r
 @REM\r
-@REM Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>\r
+@REM Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>\r
 @REM (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>\r
 @REM\r
 @REM This program and the accompanying materials are licensed and made available\r
@@ -164,6 +164,14 @@ if not defined WORKSPACE (
    goto skip_reconfig\r
 )\r
 \r
+IF NOT exist "%EDK_TOOLS_PATH%\set_vsprefix_envs.bat" (\r
+  @echo.\r
+  @echo !!! ERROR !!! The set_vsprefix_envs.bat was not found !!!\r
+  @echo.\r
+  goto end\r
+)\r
+call %EDK_TOOLS_PATH%\set_vsprefix_envs.bat\r
+\r
 if not defined CONF_PATH (\r
   set CONF_PATH=%WORKSPACE%\Conf\r
 )\r