From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) (using TLSv1 with cipher CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 9EC5E1A1DEF for ; Thu, 27 Oct 2016 21:43:59 -0700 (PDT) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga102.jf.intel.com with ESMTP; 27 Oct 2016 21:44:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,407,1473145200"; d="scan'208";a="1077038068" Received: from shwdeopenpsi168.ccr.corp.intel.com ([10.239.158.144]) by fmsmga002.fm.intel.com with ESMTP; 27 Oct 2016 21:43:58 -0700 From: Yonghong Zhu To: edk2-devel@lists.01.org Cc: Liming Gao Date: Fri, 28 Oct 2016 12:43:43 +0800 Message-Id: <1477629824-36252-3-git-send-email-yonghong.zhu@intel.com> X-Mailer: git-send-email 2.6.1.windows.1 In-Reply-To: <1477629824-36252-1-git-send-email-yonghong.zhu@intel.com> References: <1477629824-36252-1-git-send-email-yonghong.zhu@intel.com> Subject: [Patch 2/3] BaseTools: Update toolsetup.bat to call the set_vsprefix_envs.bat X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Oct 2016 04:43:59 -0000 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 --- BaseTools/toolsetup.bat | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/BaseTools/toolsetup.bat b/BaseTools/toolsetup.bat index 17b7239..26b60d9 100755 --- a/BaseTools/toolsetup.bat +++ b/BaseTools/toolsetup.bat @@ -162,10 +162,18 @@ if not defined WORKSPACE ( echo. ) 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 ) if NOT exist %CONF_PATH% ( -- 2.6.1.windows.1