Skip to contentSkip to conversation

config problem

DISCUSSION Giuliano Pochini 2 participants 3 messages Nov 25, 2003 – Nov 26, 2003

lore
Share & tools
lore
#0 lore raw

My driver supports several different cards of the same series. Most of the code is common for all cards, so I put the code which is not common into separate .c files. Well, now I need a way to tell make what is the card I want the driver for.

--
Giuliano.

-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/

#1 lore raw

At Tue, 25 Nov 2003 19:14:38 +0100,

Quoted 6 lines · Giuliano Pochini

My driver supports several different cards of the same series. Most of the code is common for all cards, so I put the code which is not common into separate .c files. Well, now I need a way to tell make what is the card I want the driver for.

sorry, your question is not clear for me...

for building multiple drivers with a common core/library module, you can find an example in isa/sb directory. there snd-sb-common is shared among several different top-level modules. (usually, the common module is named snd-xxx-lib, though.)

Takashi

-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/

#2 lore raw
Quoted 4 lines · On Tue, 25 Nov 2003 20:09:57 +0100 Takashi Iwai <[email protected]> wrote:

for building multiple drivers with a common core/library module, you can find an example in isa/sb directory. there snd-sb-common is shared among several different top-level modules. (usually, the common module is named snd-xxx-lib, though.)

Done, tnx.

--
Giuliano.

-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/