From 314b26a847e6ebad4126ee724cd329e4d4c9338b Mon Sep 17 00:00:00 2001 From: Yonghong Zhu Date: Fri, 28 Oct 2016 10:37:23 +0800 Subject: [PATCH] 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 Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Yonghong Zhu Reviewed-by: Liming Gao --- BaseTools/toolsetup.bat | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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.
+@REM Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.
@REM (C) Copyright 2016 Hewlett Packard Enterprise Development LP
@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 ) -- 2.39.2