Re: Per option CFLAGS?

2007-09-15 Thread Rene Herman
On 09/15/2007 05:53 PM, Denys Vlasenko wrote: Can you give a bit more info what the dirrefences between devices are in this particular cases? It's ISA. Thanks, but never mind guys, I only wanted to know something about kbuild. Rene. - To unsubscribe from this list: send the line

Re: Per option CFLAGS?

2007-09-15 Thread Adrian Bunk
On Sat, Sep 15, 2007 at 05:17:08PM +0200, Rene Herman wrote: > On 09/15/2007 10:47 AM, Adrian Bunk wrote: > >> On Sat, Sep 15, 2007 at 01:30:21AM +0200, Rene Herman wrote: >>> On 09/15/2007 01:13 AM, H. Peter Anvin wrote: >>> Rene Herman wrote: > I have a single file foo.c that I want to

Re: Per option CFLAGS?

2007-09-15 Thread Denys Vlasenko
On Saturday 15 September 2007 16:17, Rene Herman wrote: > On 09/15/2007 10:47 AM, Adrian Bunk wrote: > >>> The stub source file is usually considered a good way to do this. > >> Mmm. If I'll have to live with it, I can, but thought I'd ask if there was > >> some nice build trickery available

Re: Per option CFLAGS?

2007-09-15 Thread Rene Herman
On 09/15/2007 10:47 AM, Adrian Bunk wrote: On Sat, Sep 15, 2007 at 01:30:21AM +0200, Rene Herman wrote: On 09/15/2007 01:13 AM, H. Peter Anvin wrote: Rene Herman wrote: I have a single file foo.c that I want to generate two (ALSA) modules from, snd-foo2000.ko and snd-foo2001.ko, by

Re: Per option CFLAGS?

2007-09-15 Thread Adrian Bunk
On Sat, Sep 15, 2007 at 01:30:21AM +0200, Rene Herman wrote: > On 09/15/2007 01:13 AM, H. Peter Anvin wrote: > >> Rene Herman wrote: > >>> I have a single file foo.c that I want to generate two (ALSA) modules >>> from, snd-foo2000.ko and snd-foo2001.ko, by compiling with either >>> FOO2000 or

Re: Per option CFLAGS?

2007-09-15 Thread Adrian Bunk
On Sat, Sep 15, 2007 at 01:30:21AM +0200, Rene Herman wrote: On 09/15/2007 01:13 AM, H. Peter Anvin wrote: Rene Herman wrote: I have a single file foo.c that I want to generate two (ALSA) modules from, snd-foo2000.ko and snd-foo2001.ko, by compiling with either FOO2000 or FOO2001 defined.

Re: Per option CFLAGS?

2007-09-15 Thread Rene Herman
On 09/15/2007 10:47 AM, Adrian Bunk wrote: On Sat, Sep 15, 2007 at 01:30:21AM +0200, Rene Herman wrote: On 09/15/2007 01:13 AM, H. Peter Anvin wrote: Rene Herman wrote: I have a single file foo.c that I want to generate two (ALSA) modules from, snd-foo2000.ko and snd-foo2001.ko, by

Re: Per option CFLAGS?

2007-09-15 Thread Adrian Bunk
On Sat, Sep 15, 2007 at 05:17:08PM +0200, Rene Herman wrote: On 09/15/2007 10:47 AM, Adrian Bunk wrote: On Sat, Sep 15, 2007 at 01:30:21AM +0200, Rene Herman wrote: On 09/15/2007 01:13 AM, H. Peter Anvin wrote: Rene Herman wrote: I have a single file foo.c that I want to generate two (ALSA)

Re: Per option CFLAGS?

2007-09-15 Thread Denys Vlasenko
On Saturday 15 September 2007 16:17, Rene Herman wrote: On 09/15/2007 10:47 AM, Adrian Bunk wrote: The stub source file is usually considered a good way to do this. Mmm. If I'll have to live with it, I can, but thought I'd ask if there was some nice build trickery available instead.

Re: Per option CFLAGS?

2007-09-15 Thread Rene Herman
On 09/15/2007 05:53 PM, Denys Vlasenko wrote: Can you give a bit more info what the dirrefences between devices are in this particular cases? It's ISA. Thanks, but never mind guys, I only wanted to know something about kbuild. Rene. - To unsubscribe from this list: send the line

Re: Per option CFLAGS?

2007-09-14 Thread Rene Herman
On 09/15/2007 01:13 AM, H. Peter Anvin wrote: Rene Herman wrote: I have a single file foo.c that I want to generate two (ALSA) modules from, snd-foo2000.ko and snd-foo2001.ko, by compiling with either FOO2000 or FOO2001 defined. I can do this, and ALSA does this a few times, by providing

Re: Per option CFLAGS?

2007-09-14 Thread H. Peter Anvin
Rene Herman wrote: > Hi Kai, Sam. > > I have a single file foo.c that I want to generate two (ALSA) modules > from, snd-foo2000.ko and snd-foo2001.ko, by compiling with either > FOO2000 or FOO2001 defined. > > I can do this, and ALSA does this a few times, by providing dummy > foo2000.c and

Per option CFLAGS?

2007-09-14 Thread Rene Herman
Hi Kai, Sam. I have a single file foo.c that I want to generate two (ALSA) modules from, snd-foo2000.ko and snd-foo2001.ko, by compiling with either FOO2000 or FOO2001 defined. I can do this, and ALSA does this a few times, by providing dummy foo2000.c and foo2001.c files, like: ===

Per option CFLAGS?

2007-09-14 Thread Rene Herman
Hi Kai, Sam. I have a single file foo.c that I want to generate two (ALSA) modules from, snd-foo2000.ko and snd-foo2001.ko, by compiling with either FOO2000 or FOO2001 defined. I can do this, and ALSA does this a few times, by providing dummy foo2000.c and foo2001.c files, like: ===

Re: Per option CFLAGS?

2007-09-14 Thread H. Peter Anvin
Rene Herman wrote: Hi Kai, Sam. I have a single file foo.c that I want to generate two (ALSA) modules from, snd-foo2000.ko and snd-foo2001.ko, by compiling with either FOO2000 or FOO2001 defined. I can do this, and ALSA does this a few times, by providing dummy foo2000.c and foo2001.c

Re: Per option CFLAGS?

2007-09-14 Thread Rene Herman
On 09/15/2007 01:13 AM, H. Peter Anvin wrote: Rene Herman wrote: I have a single file foo.c that I want to generate two (ALSA) modules from, snd-foo2000.ko and snd-foo2001.ko, by compiling with either FOO2000 or FOO2001 defined. I can do this, and ALSA does this a few times, by providing