Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



Robert Schiele wrote:
> 
> On Fri, Nov 08, 2002 at 02:33:52PM +0100, Holger Waechtler wrote:
> > Hi Klaus,
> >
> > Klaus Schmidinger wrote:
> > >I'm just trying to compile today's driver source and founs the following
> > >problems:
> > >
> > >- In a newly created directory I get the following warning when doing
> > >'make'
> > >  in the 'driver' subdirectory:
> > >
> > >  make -C av7110 modules
> > >  make[3]: Entering directory `/home/kls/vdr/DVB.2002-11-08/driver/av7110'
> > >  Makefile:90: no file name for `-include'
> > >
> > >  Apparently the line
> > >
> > >  include $(wildcard *.d)
> >
> > the dependency files are generated at the first compilation run, so you
> > can safely ignore this warning. If you find a way to suppress this
> > message please let me know.
> 
> I said that I can suppress this warning if you didn't like it, as I
> sent my patch.  I just didn't that for simplicity of the code.  If you
> wanted me to suppress it, I will write a patch to do so.
> 
> Robert

I guess you could simply write

   -include $(wildcard *.d) dummy

so even if the wildcard expansion doesn't result in any file names, there's
still 'dummy' (which most likely doesn't exist). The '-' at the beginning
will suppress any error message about the missing 'dummy'. The name can,
of course, be made more complex to reduce the chances of such a file being
there. Even "/dev/null" apears to work - and in that case the '-' at the beginning
could be left out.

Klaus
-- 
_______________________________________________________________

Klaus Schmidinger                       Phone: +49-8635-6989-10
CadSoft Computer GmbH                   Fax:   +49-8635-6989-40
Hofmark 2                               Email:   kls@cadsoft.de
D-84568 Pleiskirchen, Germany           URL:     www.cadsoft.de
_______________________________________________________________


-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index