[linux-dvb] Re: AW: Re: Driver 2002-11-08 problems

2002-11-11 Thread Philip Armstrong
On Mon, Nov 11, 2002 at 11:03:16AM +0100, Robert Schiele wrote: > I explained in one of my former mails in this thread, why this could > not happen with the -MD flag. Because of that the explicit > dependencies for the .d files are not necessary. > > You may want to read > http://www.linuxtv.org/

[linux-dvb] Re: AW: Re: Driver 2002-11-08 problems

2002-11-11 Thread Robert Schiele
On Mon, Nov 11, 2002 at 09:28:06AM +, Philip Armstrong wrote: > On Mon, Nov 11, 2002 at 06:21:23AM +0100, Robert Schiele wrote: > > On Sun, Nov 10, 2002 at 09:44:35PM +, Philip Armstrong wrote: > > > What you need is a set of make rules like the following: > > > > You don't. > > > > > inc

[linux-dvb] Re: AW: Re: Driver 2002-11-08 problems

2002-11-11 Thread Philip Armstrong
On Mon, Nov 11, 2002 at 06:21:23AM +0100, Robert Schiele wrote: > On Sun, Nov 10, 2002 at 09:44:35PM +, Philip Armstrong wrote: > > What you need is a set of make rules like the following: > > You don't. > > > include $(patsubst %.o:%.dep,$(OBJS)) > > What do you think the "-include $(wildca

[linux-dvb] Re: AW: Re: Driver 2002-11-08 problems

2002-11-10 Thread Robert Schiele
On Sun, Nov 10, 2002 at 09:44:35PM +, Philip Armstrong wrote: > What you need is a set of make rules like the following: You don't. > include $(patsubst %.o:%.dep,$(OBJS)) What do you think the "-include $(wildcard *.d) dummy" is for? > $(BUILD)/%.d : %.c >gcc -MM -MG $< | sed -

[linux-dvb] Re: AW: Re: Driver 2002-11-08 problems

2002-11-10 Thread Philip Armstrong
On Sat, Nov 09, 2002 at 12:04:37AM +0100, Robert Schiele wrote: > On Fri, Nov 08, 2002 at 11:55:30PM +0100, Florian Schirmer wrote: > > Hi, > > > > >>>1. Doesn't adding -MD to the extra flags is enough to make the > > >>>dependencys work? At least with gcc 3.1 (haven't tried any version > > >>>be

[linux-dvb] Re: AW: Re: Driver 2002-11-08 problems

2002-11-08 Thread Robert Schiele
On Fri, Nov 08, 2002 at 11:55:30PM +0100, Florian Schirmer wrote: > Hi, > > >>>1. Doesn't adding -MD to the extra flags is enough to make the > >>>dependencys work? At least with gcc 3.1 (haven't tried any version > >>>below) it seems to work pretty well without any include changes to > >>>the M

[linux-dvb] Re: AW: Re: Driver 2002-11-08 problems

2002-11-08 Thread Robert Schiele
On Fri, Nov 08, 2002 at 05:07:49PM +0100, Holger Waechtler wrote: > Florian Schirmer wrote: > >Hi, > > > > > >>Not if '$(wildcard *.d)' doesn't return any names. > >>'-include' only suppresses error messages if any of the _given_ files > > > >doesn't exist. > > > >Two things i would like to add: >

[linux-dvb] Re: AW: Re: Driver 2002-11-08 problems

2002-11-08 Thread Holger Waechtler
Florian Schirmer wrote: Hi, Not if '$(wildcard *.d)' doesn't return any names. '-include' only suppresses error messages if any of the _given_ files doesn't exist. Two things i would like to add: 1. Doesn't adding -MD to the extra flags is enough to make the dependencys work? At least with