tools_def: Fix VS2008 build issue
authorjljusten <jljusten@c2973edb-eda0-4c78-bc6a-9341b269661f>
Wed, 24 Feb 2010 03:16:52 +0000 (03:16 +0000)
committerjljusten <jljusten@c2973edb-eda0-4c78-bc6a-9341b269661f>
Wed, 24 Feb 2010 03:16:52 +0000 (03:16 +0000)
rc.exe is no longer located in the Visual C++ bin
directory.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1890 c2973edb-eda0-4c78-bc6a-9341b269661f

Conf/tools_def.template

index f1cac5e..e02e2e2 100644 (file)
@@ -37,6 +37,10 @@ DEFINE VS2008x86_DLL    = C:\Program Files (x86)\Microsoft Visual Studio 9.0\Com
 DEFINE VS2008x86_BINX64 = DEF(VS2008x86_BIN)\x86_amd64\r
 DEFINE VS2008x86_BIN64  = DEF(VS2008x86_BIN)\x86_ia64\r
 \r
+DEFINE WINSDK_VERSION   = v6.0A\r
+DEFINE WINSDK_BIN       = c:\Program Files\Microsoft SDKs\Windows\DEF(WINSDK_VERSION)\bin\r
+DEFINE WINSDKx86_BIN    = c:\Program Files (x86)\Microsoft SDKs\Windows\DEF(WINSDK_VERSION)\bin\r
+\r
 # These defines are needed for certain Microsoft Visual Studio tools that\r
 # are used by other toolchains.  An example is that ICC on Windows normally\r
 # uses Microsoft's nmake.exe.\r
@@ -880,7 +884,7 @@ RELEASE_VS2005x86xASL_IPF_DLINK_FLAGS  = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:R
 \r
 *_VS2008_*_MAKE_PATH              = DEF(VS2008_BIN)\nmake.exe\r
 *_VS2008_*_MAKE_FLAGS             = /nologo\r
-*_VS2008_*_RC_PATH                = DEF(VS2008_BIN)\rc.exe\r
+*_VS2008_*_RC_PATH                = DEF(WINSDK_BIN)\rc.exe\r
 \r
 *_VS2008_*_SLINK_FLAGS            = /NOLOGO /LTCG\r
 *_VS2008_*_APP_FLAGS              = /nologo /E /TC\r
@@ -1002,7 +1006,7 @@ RELEASE_VS2008_IPF_DLINK_FLAGS  = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF.ICF
 \r
 *_VS2008xASL_*_MAKE_PATH       = DEF(VS2008_BIN)\nmake.exe\r
 *_VS2008xASL_*_MAKE_FLAG       = /nologo\r
-*_VS2008xASL_*_RC_PATH         = DEF(VS2008_BIN)\rc.exe\r
+*_VS2008xASL_*_RC_PATH         = DEF(WINSDK_BIN)\rc.exe\r
 \r
 *_VS2008xASL_*_SLINK_FLAGS     = /NOLOGO /LTCG\r
 *_VS2008xASL_*_APP_FLAGS       = /nologo /E /TC\r
@@ -1121,7 +1125,8 @@ RELEASE_VS2008xASL_IPF_DLINK_FLAGS  = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF.
 *_VS2008x86_*_*_FAMILY        = MSFT\r
 \r
 *_VS2008x86_*_MAKE_PATH       = DEF(VS2008x86_BIN)\nmake.exe\r
-\r
+*_VS2008xASL_*_MAKE_FLAG       = /nologo\r
+*_VS2008xASL_*_RC_PATH         = DEF(WINSDKx86_BIN)\rc.exe\r
 \r
 *_VS2008x86_*_MAKE_FLAGS      = /nologo\r
 *_VS2008x86_*_SLINK_FLAGS     = /NOLOGO /LTCG\r
@@ -1220,7 +1225,8 @@ RELEASE_VS2008x86_IPF_DLINK_FLAGS  = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,I
 *_VS2008x86xASL_*_*_FAMILY        = MSFT\r
 \r
 *_VS2008x86xASL_*_MAKE_PATH       = DEF(VS2008x86_BIN)\nmake.exe\r
-\r
+*_VS2008xASL_*_MAKE_FLAG       = /nologo\r
+*_VS2008xASL_*_RC_PATH         = DEF(WINSDKx86_BIN)\rc.exe\r
 \r
 *_VS2008x86xASL_*_MAKE_FLAGS      = /nologo\r
 *_VS2008x86xASL_*_SLINK_FLAGS     = /NOLOGO /LTCG\r