From: stansmith Date: Fri, 21 Nov 2008 22:07:14 +0000 (+0000) Subject: [WinOF] use trunk\etc\bldwo.bat file instead of clunky etc\IB_*.bat file (will be... X-Git-Url: http://git.etherboot.org/mirror/winof/.git/commitdiff_plain/1ed7c987c8c4fa0d563b69833ac8d192ce6583e3 [WinOF] use trunk\etc\bldwo.bat file instead of clunky etc\IB_*.bat file (will be removed ASAP). git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1767 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86 --- diff --git a/WinOF/BuildRelease.bat b/WinOF/BuildRelease.bat index a25038d3..69f78b4f 100644 --- a/WinOF/BuildRelease.bat +++ b/WinOF/BuildRelease.bat @@ -163,7 +163,6 @@ if NOT EXIST "%WIX%\build-all-MSI.bat" ( rem WIX Installer files (.msi) destination folder - set for local environment. set IDIR=%SystemRoot%\temp - if "%1" == "msi-label" ( pushd %IDIR% if exist WOF_wxp_x86.msi ( @@ -227,7 +226,7 @@ if "%1" == "msi-dir" ( ) echo %0 - Building with WDK @ %_DDK% -echo Building for OPENIB_REV %SVN%, installer files @ %IDIR% +echo Building for OPENIB_REV %SVN%, installer files (.msi) @ %IDIR% echo Drivers signed using Certificate '%CERTFILE%' rem pause thoughtfully. @@ -290,65 +289,71 @@ if "%1" == "all" ( call %CD%\etc\clean-build.bat ) -rem ********* Compile for WLH - Windows Server 2008 & Vista +rem ************ Setup Env for Building +set WDK_PATH=%_DDK% +set WINOF_PATH=%CD% +set OPENIB_REV=%SVN% +set PLATFORM_SDK_PATH=%_PSDK% + +rem ********* Compile for WLH - Windows Server 2008 & Vista rem WLH x64 echo %0 - Build WLH x64 Checked -%COMSPEC% /C "call %BSE%\etc\IB_CHK_BLD_x64.bat %SVN% %CD% %_DDK% %_PSDK% WLH & build %OPS%" +%COMSPEC% /C "call %BSE%\etc\bldwo.bat chk x64 2008 %OPS%" if ERRORLEVEL 1 exit /B 1 echo %0 - Build WLH x64 Free -%COMSPEC% /C "call %BSE%\etc\IB_FRE_BLD_x64.bat %SVN% %CD% %_DDK% %_PSDK% WLH & build %OPS%" +%COMSPEC% /C "call %BSE%\etc\bldwo.bat fre x64 2008 %OPS%" if ERRORLEVEL 1 exit /B 1 rem WLH x86 echo %0 - Build WLH x86 Checked -%COMSPEC% /C "call %BSE%\etc\IB_CHK_BLD_x86.bat %SVN% %CD% %_DDK% %_PSDK% WLH & build %OPS%" +%COMSPEC% /C "call %BSE%\etc\bldwo.bat chk x86 2008 %OPS%" if ERRORLEVEL 1 exit /B 1 echo %0 - Build WLH x86 Free -%COMSPEC% /C "call %BSE%\etc\IB_FRE_BLD_x86.bat %SVN% %CD% %_DDK% %_PSDK% WLH & build %OPS%" +%COMSPEC% /C "call %BSE%\etc\bldwo.bat fre x86 2008 %OPS%" if ERRORLEVEL 1 exit /B 1 rem WLH ia64 echo %0 - Build WLH ia64 Checked -%COMSPEC% /C "call %BSE%\etc\IB_CHK_BLD_IA64.bat %SVN% %CD% %_DDK% %_PSDK% WLH & build %OPS%" +%COMSPEC% /C "call %BSE%\etc\bldwo.bat chk ia64 2008 %OPS%" if ERRORLEVEL 1 exit /B 1 echo %0 - Build WLH ia64 Free -%COMSPEC% /C "call %BSE%\etc\IB_FRE_BLD_IA64.bat %SVN% %CD% %_DDK% %_PSDK% WLH & build %OPS%" +%COMSPEC% /C "call %BSE%\etc\bldwo.bat fre ia64 2008 %OPS%" if ERRORLEVEL 1 exit /B 1 rem ********* WXP - Windows XP - x86 only echo %0 - Build XP x86 Checked -%COMSPEC% /C "call %BSE%\etc\IB_CHK_BLD_x86.bat %SVN% %CD% %_DDK% %_PSDK% WXP & build %OPS%" +%COMSPEC% /C "call %BSE%\etc\bldwo.bat chk x86 xp %OPS%" if ERRORLEVEL 1 exit /B 1 echo %0 - Build XP x86 Free -%COMSPEC% /C "call %BSE%\etc\IB_FRE_BLD_x86.bat %SVN% %CD% %_DDK% %_PSDK% WXP & build %OPS%" +%COMSPEC% /C "call %BSE%\etc\bldwo.bat fre x86 xp %OPS%" if ERRORLEVEL 1 exit /B 1 rem ********* WNET - Windows Server 2003 echo %0 - Build WNET x64 Checked -%COMSPEC% /C "call %BSE%\etc\IB_CHK_BLD_x64.bat %SVN% %CD% %_DDK% %_PSDK% WNET & build %OPS%" +%COMSPEC% /C "call %BSE%\etc\bldwo.bat chk x64 2003 %OPS%" if ERRORLEVEL 1 exit /B 1 echo %0 - Build WNET x64 Free -%COMSPEC% /C "call %BSE%\etc\IB_FRE_BLD_x64.bat %SVN% %CD% %_DDK% %_PSDK% WNET & build %OPS%" +%COMSPEC% /C "call %BSE%\etc\bldwo.bat fre x64 2003 %OPS%" if ERRORLEVEL 1 exit /B 1 echo %0 - Build WNET x86 Checked -%COMSPEC% /C "call %BSE%\etc\IB_CHK_BLD_x86.bat %SVN% %CD% %_DDK% %_PSDK% WNET & build %OPS%" +%COMSPEC% /C "call %BSE%\etc\bldwo.bat chk x86 2003 %OPS%" if ERRORLEVEL 1 exit /B 1 echo %0 - Build WNET x86 Free -%COMSPEC% /C "call %BSE%\etc\IB_FRE_BLD_x86.bat %SVN% %CD% %_DDK% %_PSDK% WNET & build %OPS%" +%COMSPEC% /C "call %BSE%\etc\bldwo.bat fre x86 2003 %OPS%" if ERRORLEVEL 1 exit /B 1 echo %0 - Build WNET ia64 Checked -%COMSPEC% /C "call %BSE%\etc\IB_CHK_BLD_IA64.bat %SVN% %CD% %_DDK% %_PSDK% WNET & build %OPS%" +%COMSPEC% /C "call %BSE%\etc\bldwo.bat chk ia64 2003 %OPS%" if ERRORLEVEL 1 exit /B 1 echo %0 - Build WNET ia64 Free -%COMSPEC% /C "call %BSE%\etc\IB_FRE_BLD_IA64.bat %SVN% %CD% %_DDK% %_PSDK% WNET & build %OPS%" +%COMSPEC% /C "call %BSE%\etc\bldwo.bat fre ia64 2003 %OPS%" if ERRORLEVEL 1 exit /B 1 if "%1" == "compile" goto finito