From: Liming Gao <liming.gao@intel.com>
To: edk2-devel@lists.01.org
Subject: [Patch 2/2] BaseTools toolsetup.bat: set PATH to include Bin Win32 directory
Date: Thu, 29 Dec 2016 10:52:01 +0800 [thread overview]
Message-ID: <1482979921-20248-3-git-send-email-liming.gao@intel.com> (raw)
In-Reply-To: <1482979921-20248-1-git-send-email-liming.gao@intel.com>
Bin Win32 directory includes antlr.exe. This tool is used when compile
BaseTools source code. So, set it into PATH first.
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming.gao@intel.com>
---
BaseTools/toolsetup.bat | 2 ++
1 file changed, 2 insertions(+)
diff --git a/BaseTools/toolsetup.bat b/BaseTools/toolsetup.bat
index 88bb29e..65d9149 100755
--- a/BaseTools/toolsetup.bat
+++ b/BaseTools/toolsetup.bat
@@ -121,6 +121,7 @@ if /I "%1"=="/?" goto Usage
if exist %EDK_TOOLS_PATH%\Bin\Win32 (
set EDK_TOOLS_BIN=%EDK_TOOLS_PATH%\Bin\Win32
) else (
+ set "PATH=%EDK_TOOLS_PATH%\Bin\Win32;%PATH%"
echo.
echo !!! ERROR !!! Cannot find BaseTools Bin Win32!!!
echo Please check the directory %EDK_TOOLS_PATH%\Bin\Win32
@@ -139,6 +140,7 @@ if /I "%1"=="/?" goto Usage
if exist %EDK_TOOLS_PATH%\Bin\Win32 (
set EDK_TOOLS_BIN=%EDK_TOOLS_PATH%\Bin\Win32
) else (
+ set "PATH=%EDK_TOOLS_PATH%\Bin\Win32;%PATH%"
echo.
echo !!! ERROR !!! Cannot find BaseTools Bin Win32!!!
echo Please check the directory %EDK_TOOLS_PATH%\Bin\Win32
--
2.8.0.windows.1
next prev parent reply other threads:[~2016-12-29 2:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-29 2:51 [Patch 0/2] Update toolsetup.bat to easily compile BaseTools source Liming Gao
2016-12-29 2:52 ` [Patch 1/2] BaseTools toolsetup.bat: Set env when the binary tools are missing Liming Gao
2016-12-29 2:52 ` Liming Gao [this message]
2016-12-29 5:01 ` [Patch 0/2] Update toolsetup.bat to easily compile BaseTools source Zhu, Yonghong
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=1482979921-20248-3-git-send-email-liming.gao@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