From: Yonghong Zhu <yonghong.zhu@intel.com>
To: edk2-devel@lists.01.org
Cc: Liming Gao <liming.gao@intel.com>
Subject: [Patch 2/3] BaseTools: Update toolsetup.bat to call the set_vsprefix_envs.bat
Date: Fri, 28 Oct 2016 12:43:43 +0800 [thread overview]
Message-ID: <1477629824-36252-3-git-send-email-yonghong.zhu@intel.com> (raw)
In-Reply-To: <1477629824-36252-1-git-send-email-yonghong.zhu@intel.com>
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>
---
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
next prev parent reply other threads:[~2016-10-28 4:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-28 4:43 [Patch 0/3] BaseTools: Replace hardcoding VS path in tools_def.template Yonghong Zhu
2016-10-28 4:43 ` [Patch 1/3] BaseTools: Add a new bat file to set PREFIX envs Yonghong Zhu
2016-10-28 4:43 ` Yonghong Zhu [this message]
2016-10-28 4:43 ` [Patch 3/3] BaseTools:introduce PREFIX env for VS tool path Yonghong Zhu
2016-11-01 2:51 ` [Patch 0/3] BaseTools: Replace hardcoding VS path in tools_def.template Gao, Liming
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1477629824-36252-3-git-send-email-yonghong.zhu@intel.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox