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

Smith, Stan stan.smith at intel.com
Tue Jul 8 09:50:32 PDT 2008


Alex Estrin wrote:
> Hi Stan,
> 
> Looks good to me.
> Just one question:
> What 'MISCFILES' is used for?

Hi,
  Thanks for asking, lesson learned 'don't believe WDK examples....'.
Turns out MISCFILES is extra baggage which is not required in this case;
in process of removing.

Stan.

> 
> Thanks,
> Alex.
> 
>> -----Original Message-----
>> From: ofw-bounces at lists.openfabrics.org
>> [mailto:ofw-bounces at lists.openfabrics.org] On Behalf Of Stan C. Smith
>> Sent: Monday, July 07, 2008 6:58 PM
>> To: ofw at lists.openfabrics.org
>> Subject: [ofw] FW: IPoIB co-maintainers - Proposed
>> netipoib.inf date+versionstamp modifications
>> 
>> 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)
>> 
>> 
>> _______________________________________________
>> ofw mailing list
>> ofw at lists.openfabrics.org
>> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw




More information about the ofw mailing list