From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 778078192E for ; Wed, 28 Dec 2016 18:52:11 -0800 (PST) Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga102.fm.intel.com with ESMTP; 28 Dec 2016 18:52:11 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,424,1477983600"; d="scan'208";a="44179821" Received: from shwde7172.ccr.corp.intel.com ([10.239.9.23]) by orsmga004.jf.intel.com with ESMTP; 28 Dec 2016 18:52:09 -0800 From: Liming Gao To: edk2-devel@lists.01.org Date: Thu, 29 Dec 2016 10:52:01 +0800 Message-Id: <1482979921-20248-3-git-send-email-liming.gao@intel.com> X-Mailer: git-send-email 2.8.0.windows.1 In-Reply-To: <1482979921-20248-1-git-send-email-liming.gao@intel.com> References: <1482979921-20248-1-git-send-email-liming.gao@intel.com> Subject: [Patch 2/2] BaseTools toolsetup.bat: set PATH to include Bin Win32 directory 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: Thu, 29 Dec 2016 02:52:11 -0000 Bin Win32 directory includes antlr.exe. This tool is used when compile BaseTools source code. So, set it into PATH first. Cc: Yonghong Zhu Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao --- 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