Re: Adding vendor drivers...

From: Philipp Rumpf (prumpf@parcelfarce.linux.theplanet.co.uk)
Date: Sat Oct 07 2000 - 20:29:19 EST


On Fri, Oct 06, 2000 at 11:39:53PM +0200, Pavel Machek wrote:
> Well, having .in and .mak files with single lines in them seems ugly
> to me. What about make dep scanning for
>
> /* Makefile: obj-$(CONFIG_MY_DRIVER) += mydriver.o */
> /* Config.in: bool CONFIG_MY_DRIVER */
>
> in .c files?

The idea isn't bad, but I'm not sure magic comments are really the way to
go. special macros should work just as well, shouldn't they ?

Also you're missing a very important item here: Documentation for the
config option.

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



This archive was generated by hypermail 2b29 : Sat Oct 07 2000 - 21:00:21 EST