Re: [PATCH] driver/char/Makefile cleanup and bugfix

From: Pauline Middelink (middelin@polyware.nl)
Date: Fri Aug 04 2000 - 09:18:45 EST


On Fri, 04 Aug 2000 around 13:05:12 +0200, Christoph Hellwig wrote:
> On Mon, Jul 31, 2000 at 01:10:22PM +0200, Pauline Middelink wrote:
> > On Fri, 28 Jul 2000 around 13:00:25 +0200, Christoph Hellwig wrote:
> > > +obj-$(CONFIG_VIDEO_ZR36120) += zoran.o i2c-old.o tuner.o saa7110.o saa7111.o saa7185.o
> > > +obj-$(CONFIG_I2C_PARPORT) += i2c-parport.o i2c-old.o
> > > +obj-$(CONFIG_VIDEO_SAA5249) += saa5249.o i2c-old.o
> >
> > You sure this is correct? If i compile both the zr36120 and the zoran driver
> > i seem to get more than one i2c-old... Same goes for the saa7110
> > etc etc
>
> Yepp. That's ok, the new-style Makefile handle the case of some modular/
> some non modular and make simply ignores multiply identic targets
> (with ugly error messages, there's an effort on linux-kbuild to solve
> this in a cleaner way).

Err, no think non modular for all. I saw the Makefile rule where
it strips .o's from the modules which are built in the kernel,
but didn't find the stripping of multiple built-in .o's. Won't
that imply the kernel-link will fail on to i2c-old.o's?

    Met vriendelijke groet,
        Pauline Middelink

-- 
PGP Key fingerprint = DE 6B D0 D9 19 AD A7 A0  58 A3 06 9D B6 34 39 E2
For more details look at my website http://www.polyware.nl/~middelink

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Aug 07 2000 - 21:00:13 EST