[ofw][patch] fix_wdfcoinstaller_path.patch

Smith, Stan stan.smith at intel.com
Mon Jul 28 15:17:20 PDT 2008


Anatoly Greenblatt wrote:
> Hi Stan,
> 
> On my build machine the ddk is not installed on systemdrive.
> 
> Anatoly.

Hello,
  Yes, I understand your situation. The following patch addresses your
issue in buildrelease.bat.

Stan.

diff C3 C:/Documents and Settings/scsmith/Local
Settings/Temp/BuildRelease.bat-revBASE.svn001.tmp.bat C:/Documents and
Settings/scsmith/My
Documents/openIB-windows/SVN/gen1/trunk/BuildRelease.bat
*** C:/Documents and Settings/scsmith/Local
Settings/Temp/BuildRelease.bat-revBASE.svn001.tmp.bat	Mon Jul 28
11:46:45 2008
--- C:/Documents and Settings/scsmith/My
Documents/openIB-windows/SVN/gen1/trunk/BuildRelease.bat	Mon Jul
28 11:43:15 2008
***************
*** 97,103 ****
  
  rem Use this WDK
  
- set _DDK=C:\WinDDK\6001.18001
  
  if NOT EXIST %_DDK% (
      echo Missing WDK @ %_DDK%
--- 97,103 ----
  
  rem Use this WDK
  
+ set _DDK=%SystemDrive%\WinDDK\6001.18001
  
  if NOT EXIST %_DDK% (
      echo Missing WDK @ %_DDK%
***************
*** 106,112 ****
  echo %0 - Building with WDK @ %_DDK%
  
  rem Platform SDK path - watchout for missing LoadPerf.h (installsp.c)
- set _PSDK=C:\progra~1\mi2578~1
  
  rem setup value for OPENIB_REV assignment.
  
--- 106,112 ----
  echo %0 - Building with WDK @ %_DDK%
  
  rem Platform SDK path - watchout for missing LoadPerf.h (installsp.c)
+ set _PSDK=%SystemDrive%\progra~1\mi2578~1
  
  rem setup value for OPENIB_REV assignment.
  
> 
> ________________________________
> 
> From: Stan C. Smith [mailto:stan.smith at intel.com]
> Sent: Mon 7/28/2008 8:05 PM
> To: Anatoly Greenblatt; ofw at lists.openfabrics.org
> Subject: RE: [ofw][patch] fix_wdfcoinstaller_path.patch
> 
> 
> Hello,
>   Perhaps you may have an older version of etc\makebin.bat as the
> previous makebin.bat version @ svn.1412 shows the use of
> %systemdrive% instead of %_DDK%? Anyway, the latest in svn uses
> %systemdrive% which is correct.  
> 
> It's always good to have many eyes on the code.
> 
> stan.
> 
> ________________________________
> 
> From: ofw-bounces at lists.openfabrics.org
> [mailto:ofw-bounces at lists.openfabrics.org] On Behalf Of Anatoly
> Greenblatt  
> Sent: Sunday, July 27, 2008 5:46 AM
> To: ofw at lists.openfabrics.org
> Subject: [ofw][patch] fix_wdfcoinstaller_path.patch
> 
> 
> Hi,
> 
> This fixes a wrong assumption in makebin.bat that winddk is installed
> on systemdrive. 
> 
> Thanks,
> Anatoly.
> 
> Index: makebin.bat
> ===================================================================
> --- makebin.bat (revision 1450)
> +++ makebin.bat (working copy)
> @@ -25,7 +25,7 @@
>  set DBG=TRUE
> 
>  set OSE=%3
> -set WdfCoInstaller=%systemdrive%\WinDDK\6001.18001\redist\wdf
> +set WdfCoInstaller=%_DDK%\redist\wdf
> 
>  if not exist %1 goto usage
>  if not exist %2 goto usage
> 
> _______________________________________________
> ofw mailing list
> ofw at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw




More information about the ofw mailing list