[ofw] FW: IPoIB co-maintainers - Proposed netipoib.inf date+version stamp modifications

Stan C. Smith stan.smith at intel.com
Mon Jul 7 15:58:16 PDT 2008


Missed the CC: for the list.

Stan C. Smith wrote:
> Hello,
> 
> Below are a list of proposed changes to support .inf file
> date+version stamping such that netipoib.inf and ipoib.sys have the
> same date+version stamps.  
> 
> If either of you, as the IPoIB co-maintainers, would review and
> consent to these changes/patches, I will commit them ASAP. 
> 
> Thanks,
> 
> Stan.
> 
> 
> Rename trunk\ulp\ipoib\kernel\netipoib.inf -->
>   trunk\ulp\ipoib\kernel\netipoib.inx Per Microsoft WDK conventions &
> .inf file stamping examples. 
> 
> Mods to trunk\ulp\ipoib\kernel\SOURCES
>      Defined INF_NAME + INF_TARGET for makefile.inc
>      sets up include of makefile.inc per WDK conventions.
> 
> diff C3 %TEMP%/SOURCES-revBASE.svn004.tmp
> trunk/ulp/ipoib/kernel/SOURCES ***
> %TEMP%/SOURCES-revBASE.svn004.tmp	Mon Jul 07 15:26:16 2008 ---
> trunk/ulp/ipoib/kernel/SOURCES	Thu Jul 03 14:52:51 2008 
> ***************
> *** 2,7 ****
> --- 2,15 ----
>   TARGETPATH=..\..\..\bin\kernel\obj$(BUILD_ALT_DIR)
>   TARGETTYPE=DRIVER
> 
> + !if $(_NT_TOOLS_VERSION) != 0x700
> + # WDK build only - transform .inx --> .inf adding date & version
> stamp. + # see .\makefile.inc
> + INF_NAME=netipoib
> + INF_TARGET=..\..\..\bin\kernel\$(O)\$(INF_NAME).inf
> + NTTARGETFILES=$(INF_TARGET)
> + MISCFILES=$(NTTARGETFILES)
> + !endif
> 
>   !if $(FREEBUILD)
>   ENABLE_EVENT_TRACING=1
> 
> 
> 
> Add new file 'trunk\ulp\ipoib\kernel\makefile.inc'
>      sets dependencies for .inx --> .inf transformation.
>      includes mod_ver.def, date + version stamps
> $(INF_TARGET)\netipoib.inf 
> 
> 
> 
> # Transform .inx file to .inf file adding date + major,min &
> svn.version stamp # Output .inf file is copied to the $(INF_TARGET)
> folder (commonly where .sys file resides). 
> 
> _LNG=$(LANGUAGE)
> 
> !IF !DEFINED(_INX)
> _INX=.
> !ENDIF
> 
> STAMP=stampinf -a $(_BUILDARCH)
> 
> !INCLUDE mod_ver.def
> 
> $(INF_TARGET) : $(_INX)\$(INF_NAME).inx
>     copy $(_INX)\$(@B).inx $@
>     $(STAMP) -f $@ -d * -v
> $(IB_MAJORVERSION).$(IB_MINORVERSION).$(IB_F3VERSION).$(OPENIB_REV) 





More information about the ofw mailing list