diff options
author | Yonghong Zhu <yonghong.zhu@intel.com> | 2016-10-28 10:37:23 +0800 |
---|---|---|
committer | Yonghong Zhu <yonghong.zhu@intel.com> | 2016-11-02 09:58:16 +0800 |
commit | 314b26a847e6ebad4126ee724cd329e4d4c9338b (patch) | |
tree | 79b67ddcb742f8e2a5b2b1bebb90a6b26a4a201c /BaseTools/toolsetup.bat | |
parent | 40d7406f6e151ccbcbebd5dae1e137d6fb0ac981 (diff) | |
download | edk2-314b26a847e6ebad4126ee724cd329e4d4c9338b.tar.gz |
BaseTools: Update toolsetup.bat to call the set_vsprefix_envs.bat
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>
Diffstat (limited to 'BaseTools/toolsetup.bat')
-rwxr-xr-x | BaseTools/toolsetup.bat | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/BaseTools/toolsetup.bat b/BaseTools/toolsetup.bat index 17b723954f..890521434d 100755 --- a/BaseTools/toolsetup.bat +++ b/BaseTools/toolsetup.bat @@ -3,7 +3,7 @@ @REM however it may be executed directly from the BaseTools project folder
@REM if the file is not executed within a WORKSPACE\BaseTools folder.
@REM
-@REM Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>
+@REM Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>
@REM (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
@REM
@REM This program and the accompanying materials are licensed and made available
@@ -164,6 +164,14 @@ if not defined WORKSPACE ( goto skip_reconfig
)
+IF NOT exist "%EDK_TOOLS_PATH%\set_vsprefix_envs.bat" (
+ @echo.
+ @echo !!! ERROR !!! The set_vsprefix_envs.bat was not found !!!
+ @echo.
+ goto end
+)
+call %EDK_TOOLS_PATH%\set_vsprefix_envs.bat
+
if not defined CONF_PATH (
set CONF_PATH=%WORKSPACE%\Conf
)
|