Re: [patch, -git] drivers/media build fix for modular builds

From: Sam Ravnborg
Date: Wed Apr 30 2008 - 05:55:32 EST


On Wed, Apr 30, 2008 at 11:37:28AM +0200, Ingo Molnar wrote:
>
> * Sam Ravnborg <sam@xxxxxxxxxxxx> wrote:
>
> > drivers/media is special because it does not contain any files. Kbuild
> > will generate a built-in.o file only if there is a chance for a .o
> > file in the directory.
> >
> > When all media is modules kbuild does not know enough to say that a
> > built-in.o is needed in drivers/media/ and the workaround to do a
> > obj-y := common/ is the best way to do so.
>
> ok, good. Should be an exceedingly rare situation, we dont have _that_
> many driver sub-trees.
>
> Can we take this as a:
>
> Acked-by: Sam Ravnborg <sam@xxxxxxxxxxxx>
Yes.

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