* [Patch 0/3] BaseTools: Replace hardcoding VS path in tools_def.template
@ 2016-10-28 4:43 Yonghong Zhu
2016-10-28 4:43 ` [Patch 1/3] BaseTools: Add a new bat file to set PREFIX envs Yonghong Zhu
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Yonghong Zhu @ 2016-10-28 4:43 UTC (permalink / raw)
To: edk2-devel
This series patches replace the hardcode VS path in the tools_def.template
file.
Yonghong Zhu (3):
BaseTools: Add a new bat file to set PREFIX envs
BaseTools: Update toolsetup.bat to call the set_vsprefix_envs.bat
BaseTools:introduce PREFIX env for VS tool path
BaseTools/Conf/tools_def.template | 90 +++++++++++++++++----------------
BaseTools/set_vsprefix_envs.bat | 101 ++++++++++++++++++++++++++++++++++++++
BaseTools/toolsetup.bat | 8 +++
3 files changed, 153 insertions(+), 46 deletions(-)
create mode 100644 BaseTools/set_vsprefix_envs.bat
--
2.6.1.windows.1
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Patch 1/3] BaseTools: Add a new bat file to set PREFIX envs
2016-10-28 4:43 [Patch 0/3] BaseTools: Replace hardcoding VS path in tools_def.template Yonghong Zhu
@ 2016-10-28 4:43 ` Yonghong Zhu
2016-10-28 4:43 ` [Patch 2/3] BaseTools: Update toolsetup.bat to call the set_vsprefix_envs.bat Yonghong Zhu
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Yonghong Zhu @ 2016-10-28 4:43 UTC (permalink / raw)
To: edk2-devel; +Cc: Liming Gao
Add set_vsprefix_envs.bat to set PREFIX envs as the default values if
they are not set.
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com>
---
BaseTools/set_vsprefix_envs.bat | 101 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 101 insertions(+)
create mode 100644 BaseTools/set_vsprefix_envs.bat
diff --git a/BaseTools/set_vsprefix_envs.bat b/BaseTools/set_vsprefix_envs.bat
new file mode 100644
index 0000000..a860c28
--- /dev/null
+++ b/BaseTools/set_vsprefix_envs.bat
@@ -0,0 +1,101 @@
+@REM @file
+@REM This stand-alone program is typically called by the toolsetup.bat file,
+@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) 2016, Intel Corporation. All rights reserved.<BR>
+@REM
+@REM This program and the accompanying materials are licensed and made available
+@REM under the terms and conditions of the BSD License which accompanies this
+@REM distribution. The full text of the license may be found at:
+@REM http://opensource.org/licenses/bsd-license.php
+@REM
+@REM THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+@REM WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR
+@REM IMPLIED.
+@REM
+
+@echo off
+pushd .
+
+if defined VS71COMNTOOLS (
+ if not defined VS2003_PREFIX (
+ set "VS2003_PREFIX=%VS71COMNTOOLS:~0,-14%"
+ )
+)
+
+if defined VS80COMNTOOLS (
+ if not defined VS2005_PREFIX (
+ set "VS2005_PREFIX=%VS80COMNTOOLS:~0,-14%"
+ )
+)
+
+if defined VS90COMNTOOLS (
+ if not defined VS2008_PREFIX (
+ set "VS2008_PREFIX=%VS90COMNTOOLS:~0,-14%"
+ )
+ if not defined WINSDK_PREFIX (
+ set "WINSDK_PREFIX=c:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\"
+ )
+ if not defined WINSDKx86_PREFIX (
+ set "WINSDKx86_PREFIX=c:\Program Files (x86)\Microsoft SDKs\Windows\v6.0A\bin\"
+ )
+)
+
+if defined VS100COMNTOOLS (
+ if not defined VS2010_PREFIX (
+ set "VS2010_PREFIX=%VS100COMNTOOLS:~0,-14%"
+ )
+ if not defined WINSDK7_PREFIX (
+ set "WINSDK7_PREFIX=c:\Program Files\Microsoft SDKs\Windows\v7.0A\Bin\"
+ )
+ if not defined WINSDK7x86_PREFIX (
+ set "WINSDK7x86_PREFIX=c:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\"
+ )
+)
+
+if defined VS110COMNTOOLS (
+ if not defined VS2012_PREFIX (
+ set "VS2012_PREFIX=%VS110COMNTOOLS:~0,-14%"
+ )
+ if not defined WINSDK71_PREFIX (
+ set "WINSDK71_PREFIX=c:\Program Files\Microsoft SDKs\Windows\v7.1A\Bin\"
+ )
+ if not defined WINSDK71x86_PREFIX (
+ set "WINSDK71x86_PREFIX=c:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Bin\"
+ )
+)
+
+if defined VS120COMNTOOLS (
+ if not defined VS2013_PREFIX (
+ set "VS2013_PREFIX=%VS120COMNTOOLS:~0,-14%"
+ )
+ if not defined WINSDK8_PREFIX (
+ set "WINSDK8_PREFIX=c:\Program Files\Windows Kits\8.0\bin\"
+ )
+ if not defined WINSDK8x86_PREFIX (
+ set "WINSDK8x86_PREFIX=c:\Program Files (x86)\Windows Kits\8.0\bin\"
+ )
+)
+
+if defined VS140COMNTOOLS (
+ if not defined VS2015_PREFIX (
+ set "VS2015_PREFIX=%VS140COMNTOOLS:~0,-14%"
+ )
+ if not defined WINSDK81_PREFIX (
+ set "WINSDK81_PREFIX=c:\Program Files\Windows Kits\8.1\bin\"
+ )
+ if not defined WINSDK81x86_PREFIX (
+ set "WINSDK81x86_PREFIX=c:\Program Files (x86)\Windows Kits\8.1\bin\"
+ )
+)
+
+if not defined WINDDK3790_PREFIX (
+ set WINDDK3790_PREFIX=C:\WINDDK\3790.1830\bin\
+)
+
+if not defined IASL_PREFIX (
+ set IASL_PREFIX=C:\ASL\
+)
+
+popd
\ No newline at end of file
--
2.6.1.windows.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Patch 2/3] BaseTools: Update toolsetup.bat to call the set_vsprefix_envs.bat
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
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
3 siblings, 0 replies; 5+ messages in thread
From: Yonghong Zhu @ 2016-10-28 4:43 UTC (permalink / raw)
To: edk2-devel; +Cc: Liming Gao
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
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Patch 3/3] BaseTools:introduce PREFIX env for VS tool path
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 ` [Patch 2/3] BaseTools: Update toolsetup.bat to call the set_vsprefix_envs.bat Yonghong Zhu
@ 2016-10-28 4:43 ` Yonghong Zhu
2016-11-01 2:51 ` [Patch 0/3] BaseTools: Replace hardcoding VS path in tools_def.template Gao, Liming
3 siblings, 0 replies; 5+ messages in thread
From: Yonghong Zhu @ 2016-10-28 4:43 UTC (permalink / raw)
To: edk2-devel; +Cc: Liming Gao
This patch introduce PREFIX env for VS tool path for tools_def.template
file.
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com>
---
BaseTools/Conf/tools_def.template | 90 +++++++++++++++++++--------------------
1 file changed, 44 insertions(+), 46 deletions(-)
diff --git a/BaseTools/Conf/tools_def.template b/BaseTools/Conf/tools_def.template
index bae5ab0..39fda78 100755
--- a/BaseTools/Conf/tools_def.template
+++ b/BaseTools/Conf/tools_def.template
@@ -15,100 +15,99 @@
#
IDENTIFIER = Default TOOL_CHAIN_CONF
# common path macros
-DEFINE VS2003_BIN = C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin
-DEFINE VS2003_DLL = C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE
+DEFINE VS2003_BIN = ENV(VS2003_PREFIX)Vc7\bin
+DEFINE VS2003_DLL = ENV(VS2003_PREFIX)Common7\IDE
-DEFINE VS2005_BIN = C:\Program Files\Microsoft Visual Studio 8\Vc\bin
-DEFINE VS2005_DLL = C:\Program Files\Microsoft Visual Studio 8\Common7\IDE;DEF(VS2005_BIN)
-DEFINE VS2005_BINX64 = C:\Program Files\Microsoft Visual Studio 8\Vc\bin\x86_amd64
-DEFINE VS2005_BIN64 = C:\Program Files\Microsoft Visual Studio 8\Vc\bin\x86_ia64
+DEFINE VS2005_BIN = ENV(VS2005_PREFIX)Vc\bin
+DEFINE VS2005_DLL = ENV(VS2005_PREFIX)Common7\IDE;DEF(VS2005_BIN)
+DEFINE VS2005_BINX64 = DEF(VS2005_BIN)\x86_amd64
+DEFINE VS2005_BIN64 = DEF(VS2005_BIN)\x86_ia64
-DEFINE VS2005x86_BIN = C:\Program Files (x86)\Microsoft Visual Studio 8\Vc\bin
-DEFINE VS2005x86_DLL = C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\IDE;DEF(VS2005x86_BIN)
+DEFINE VS2005x86_BIN = ENV(VS2005_PREFIX)Vc\bin
+DEFINE VS2005x86_DLL = ENV(VS2005_PREFIX)Common7\IDE;DEF(VS2005x86_BIN)
DEFINE VS2005x86_BINX64 = DEF(VS2005x86_BIN)\x86_amd64
DEFINE VS2005x86_BIN64 = DEF(VS2005x86_BIN)\x86_ia64
-DEFINE VS2008_BIN = C:\Program Files\Microsoft Visual Studio 9.0\Vc\bin
-DEFINE VS2008_DLL = C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE;DEF(VS2008_BIN)
+DEFINE VS2008_BIN = ENV(VS2008_PREFIX)Vc\bin
+DEFINE VS2008_DLL = ENV(VS2008_PREFIX)Common7\IDE;DEF(VS2008_BIN)
DEFINE VS2008_BINX64 = DEF(VS2008_BIN)\x86_amd64
DEFINE VS2008_BIN64 = DEF(VS2008_BIN)\x86_ia64
-DEFINE VS2008x86_BIN = C:\Program Files (x86)\Microsoft Visual Studio 9.0\Vc\bin
-DEFINE VS2008x86_DLL = C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE;DEF(VS2008x86_BIN)
+DEFINE VS2008x86_BIN = ENV(VS2008_PREFIX)Vc\bin
+DEFINE VS2008x86_DLL = ENV(VS2008_PREFIX)Common7\IDE;DEF(VS2008x86_BIN)
DEFINE VS2008x86_BINX64 = DEF(VS2008x86_BIN)\x86_amd64
DEFINE VS2008x86_BIN64 = DEF(VS2008x86_BIN)\x86_ia64
-DEFINE VS2010_BIN = C:\Program Files\Microsoft Visual Studio 10.0\Vc\bin
-DEFINE VS2010_DLL = C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE;DEF(VS2010_BIN)
+DEFINE VS2010_BIN = ENV(VS2010_PREFIX)Vc\bin
+DEFINE VS2010_DLL = ENV(VS2010_PREFIX)Common7\IDE;DEF(VS2010_BIN)
DEFINE VS2010_BINX64 = DEF(VS2010_BIN)\x86_amd64
DEFINE VS2010_BIN64 = DEF(VS2010_BIN)\x86_ia64
-DEFINE VS2010x86_BIN = C:\Program Files (x86)\Microsoft Visual Studio 10.0\Vc\bin
-DEFINE VS2010x86_DLL = C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE;DEF(VS2010x86_BIN)
+DEFINE VS2010x86_BIN = ENV(VS2010_PREFIX)Vc\bin
+DEFINE VS2010x86_DLL = ENV(VS2010_PREFIX)Common7\IDE;DEF(VS2010x86_BIN)
DEFINE VS2010x86_BINX64 = DEF(VS2010x86_BIN)\x86_amd64
DEFINE VS2010x86_BIN64 = DEF(VS2010x86_BIN)\x86_ia64
-DEFINE VS2012_BIN = C:\Program Files\Microsoft Visual Studio 11.0\Vc\bin
-DEFINE VS2012_DLL = C:\Program Files\Microsoft Visual Studio 11.0\Common7\IDE;DEF(VS2012_BIN)
+DEFINE VS2012_BIN = ENV(VS2012_PREFIX)Vc\bin
+DEFINE VS2012_DLL = ENV(VS2012_PREFIX)Common7\IDE;DEF(VS2012_BIN)
DEFINE VS2012_BINX64 = DEF(VS2012_BIN)\x86_amd64
-DEFINE VS2012x86_BIN = C:\Program Files (x86)\Microsoft Visual Studio 11.0\Vc\bin
-DEFINE VS2012x86_DLL = C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE;DEF(VS2012x86_BIN)
+DEFINE VS2012x86_BIN = ENV(VS2012_PREFIX)Vc\bin
+DEFINE VS2012x86_DLL = ENV(VS2012_PREFIX)Common7\IDE;DEF(VS2012x86_BIN)
DEFINE VS2012x86_BINX64 = DEF(VS2012x86_BIN)\x86_amd64
-DEFINE VS2013_BIN = C:\Program Files\Microsoft Visual Studio 12.0\Vc\bin
-DEFINE VS2013_DLL = C:\Program Files\Microsoft Visual Studio 12.0\Common7\IDE;DEF(VS2012_BIN)
+DEFINE VS2013_BIN = ENV(VS2013_PREFIX)Vc\bin
+DEFINE VS2013_DLL = ENV(VS2013_PREFIX)Common7\IDE;DEF(VS2013_BIN)
DEFINE VS2013_BINX64 = DEF(VS2013_BIN)\x86_amd64
-DEFINE VS2013x86_BIN = C:\Program Files (x86)\Microsoft Visual Studio 12.0\Vc\bin
-DEFINE VS2013x86_DLL = C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE;DEF(VS2013x86_BIN)
+DEFINE VS2013x86_BIN = ENV(VS2013_PREFIX)Vc\bin
+DEFINE VS2013x86_DLL = ENV(VS2013_PREFIX)Common7\IDE;DEF(VS2013x86_BIN)
DEFINE VS2013x86_BINX64 = DEF(VS2013x86_BIN)\x86_amd64
-DEFINE VS2015_BIN = C:\Program Files\Microsoft Visual Studio 14.0\Vc\bin
-DEFINE VS2015_DLL = C:\Program Files\Microsoft Visual Studio 14.0\Common7\IDE;DEF(VS2015_BIN)
+DEFINE VS2015_BIN = ENV(VS2015_PREFIX)Vc\bin
+DEFINE VS2015_DLL = ENV(VS2015_PREFIX)Common7\IDE;DEF(VS2015_BIN)
DEFINE VS2015_BINX64 = DEF(VS2015_BIN)\x86_amd64
-DEFINE VS2015x86_BIN = C:\Program Files (x86)\Microsoft Visual Studio 14.0\Vc\bin
-DEFINE VS2015x86_DLL = C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE;DEF(VS2015x86_BIN)
+DEFINE VS2015x86_BIN = ENV(VS2015_PREFIX)Vc\bin
+DEFINE VS2015x86_DLL = ENV(VS2015_PREFIX)Common7\IDE;DEF(VS2015x86_BIN)
DEFINE VS2015x86_BINX64 = DEF(VS2015x86_BIN)\x86_amd64
-DEFINE WINSDK_VERSION = v6.0A
-DEFINE WINSDK_BIN = c:\Program Files\Microsoft SDKs\Windows\DEF(WINSDK_VERSION)\bin
-DEFINE WINSDKx86_BIN = c:\Program Files (x86)\Microsoft SDKs\Windows\DEF(WINSDK_VERSION)\bin
+DEFINE WINSDK_BIN = ENV(WINSDK_PREFIX)
+DEFINE WINSDKx86_BIN = ENV(WINSDKx86_PREFIX)
# Microsoft Visual Studio 2010
-DEFINE WINSDK7_BIN = c:\Program Files\Microsoft SDKs\Windows\v7.0A\Bin
-DEFINE WINSDK7x86_BIN = c:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin
+DEFINE WINSDK7_BIN = ENV(WINSDK7_PREFIX)
+DEFINE WINSDK7x86_BIN = ENV(WINSDK7x86_PREFIX)
# Microsoft Visual Studio 2012 Update 1 (required for rc.exe that was not included in the initial release)
-DEFINE WINSDK71_BIN = c:\Program Files\Microsoft SDKs\Windows\v7.1A\Bin
-DEFINE WINSDK71x86_BIN = c:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Bin
+DEFINE WINSDK71_BIN = ENV(WINSDK71_PREFIX)
+DEFINE WINSDK71x86_BIN = ENV(WINSDK71x86_PREFIX)
# Microsoft Visual Studio 2013 Professional Edition
-DEFINE WINSDK8_BIN = c:\Program Files\Windows Kits\8.0\bin\x86\
-DEFINE WINSDK8x86_BIN = c:\Program Files (x86)\Windows Kits\8.0\bin\x64
+DEFINE WINSDK8_BIN = ENV(WINSDK8_PREFIX)x86\
+DEFINE WINSDK8x86_BIN = ENV(WINSDK8x86_PREFIX)x64
# Microsoft Visual Studio 2015 Professional Edition
-DEFINE WINSDK81_BIN = c:\Program Files\Windows Kits\8.1\bin\x86\
-DEFINE WINSDK81x86_BIN = c:\Program Files (x86)\Windows Kits\8.1\bin\x64
+DEFINE WINSDK81_BIN = ENV(WINSDK81_PREFIX)x86\
+DEFINE WINSDK81x86_BIN = ENV(WINSDK81x86_PREFIX)x64
# These defines are needed for certain Microsoft Visual Studio tools that
# are used by other toolchains. An example is that ICC on Windows normally
# uses Microsoft's nmake.exe.
# Some MS_VS_BIN options: DEF(VS2003_BIN), DEF(VS2005_BIN), DEF(VS2005x86_BIN), DEF(VS2008_BIN), DEF(VS2008x86_BIN)
DEFINE MS_VS_BIN = DEF(VS2005_BIN)
# Some MS_VS_DLL options: DEF(VS2003_DLL), DEF(VS2005_DLL), DEF(VS2005x86_DLL), DEF(VS2008_DLL), DEF(VS2008x86_DLL)
DEFINE MS_VS_DLL = DEF(VS2005_DLL)
-DEFINE WINDDK_BIN16 = C:\WINDDK\3790.1830\bin\bin16
-DEFINE WINDDK_BIN32 = C:\WINDDK\3790.1830\bin\x86
-DEFINE WINDDK_BINX64 = C:\WINDDK\3790.1830\bin\win64\x86\amd64
-DEFINE WINDDK_BIN64 = C:\WINDDK\3790.1830\bin\win64\x86
+DEFINE WINDDK_BIN16 = ENV(WINDDK3790_PREFIX)bin16
+DEFINE WINDDK_BIN32 = ENV(WINDDK3790_PREFIX)x86
+DEFINE WINDDK_BINX64 = ENV(WINDDK3790_PREFIX)win64\x86\amd64
+DEFINE WINDDK_BIN64 = ENV(WINDDK3790_PREFIX)win64\x86
# NOTE: The Intel C++ Compiler for Windows requires one of the Microsoft C compiler
# tool chains for the linker and nmake commands.
# This configuration assumes a Windows 2003 Server DDK installation.
DEFINE ICC_VERSION = 9.1
@@ -199,13 +198,12 @@ DEFINE GCC49_X64_PREFIX = ENV(GCC49_BIN)
DEFINE GCC5_IA32_PREFIX = ENV(GCC5_BIN)
DEFINE GCC5_X64_PREFIX = ENV(GCC5_BIN)
DEFINE UNIX_IASL_BIN = ENV(IASL_PREFIX)iasl
-DEFINE WIN_ASL_BIN_DIR = C:\ASL
-DEFINE WIN_IASL_BIN = DEF(WIN_ASL_BIN_DIR)\iasl.exe
-DEFINE WIN_ASL_BIN = DEF(WIN_ASL_BIN_DIR)\asl.exe
+DEFINE WIN_IASL_BIN = ENV(IASL_PREFIX)iasl.exe
+DEFINE WIN_ASL_BIN = ENV(IASL_PREFIX)asl.exe
DEFINE IASL_FLAGS =
DEFINE IASL_OUTFLAGS = -p
DEFINE MS_ASL_OUTFLAGS = /Fo=
DEFINE MS_ASL_FLAGS =
--
2.6.1.windows.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [Patch 0/3] BaseTools: Replace hardcoding VS path in tools_def.template
2016-10-28 4:43 [Patch 0/3] BaseTools: Replace hardcoding VS path in tools_def.template Yonghong Zhu
` (2 preceding siblings ...)
2016-10-28 4:43 ` [Patch 3/3] BaseTools:introduce PREFIX env for VS tool path Yonghong Zhu
@ 2016-11-01 2:51 ` Gao, Liming
3 siblings, 0 replies; 5+ messages in thread
From: Gao, Liming @ 2016-11-01 2:51 UTC (permalink / raw)
To: Zhu, Yonghong, edk2-devel@lists.01.org
Reviewed-by: Liming Gao <liming.gao@intel.com>
-----Original Message-----
From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Yonghong Zhu
Sent: Friday, October 28, 2016 12:44 PM
To: edk2-devel@lists.01.org
Subject: [edk2] [Patch 0/3] BaseTools: Replace hardcoding VS path in tools_def.template
This series patches replace the hardcode VS path in the tools_def.template
file.
Yonghong Zhu (3):
BaseTools: Add a new bat file to set PREFIX envs
BaseTools: Update toolsetup.bat to call the set_vsprefix_envs.bat
BaseTools:introduce PREFIX env for VS tool path
BaseTools/Conf/tools_def.template | 90 +++++++++++++++++----------------
BaseTools/set_vsprefix_envs.bat | 101 ++++++++++++++++++++++++++++++++++++++
BaseTools/toolsetup.bat | 8 +++
3 files changed, 153 insertions(+), 46 deletions(-)
create mode 100644 BaseTools/set_vsprefix_envs.bat
--
2.6.1.windows.1
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2016-11-01 2:51 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [Patch 2/3] BaseTools: Update toolsetup.bat to call the set_vsprefix_envs.bat Yonghong Zhu
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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox