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

From: Christoph Hellwig (hch@caldera.de)
Date: Fri Aug 04 2000 - 09:21:22 EST


On Fri, Aug 04, 2000 at 04:18:45PM +0200, Pauline Middelink wrote:
> > 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?

No. It gives error messages but works very well. Lots of makefiles
use this trick (drivers/sound, drivers/net ...)

        Christoph

-- 
Always remember that you are unique.  Just like everyone else.

- 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