[Openib-windows] RE: Wsd service installer

Fab Tillier ftillier at silverstorm.com
Wed Aug 10 09:40:20 PDT 2005


Plain Text please.

> -----Original Message-----
> From: Yossi Leybovich [mailto:sleybo at mellanox.co.il]
> Sent: Wednesday, August 10, 2005 5:25 AM
> 
> In the past we had little discussion about how to generate different rc file
> per company
> The same problem stands for the instp.exe of WSD (need different company name
> for each provider)
> I created patch that generate different names according to env variable .
> Let me know if its ok with and I will send patch for the ics_ver.h file and
> that will fix all rc files.

I'd like to see an environment variable define the company name, and have the
sources file turn that environment variable into a preprocessor definition that
then gets prepended to the strings used.  Can you check to see if putting
something like

/DIB_COMPANY_NAME="$(IB_COMPANY_NAME)"

in the sources file works?  Then you would set the IB_COMPANY_NAME environment
variable before the build.  If this works, it would eliminate the need to add
new company names in the future as companies would be able to specify their
desired name during the build process without modifying any files.  The default
name could then either not have a company name, or use "OpenIB" to indicate a
generic build.

- Fab




More information about the ofw mailing list