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

Sam Ravnborg
2008-04-30T09:55:31Z

On Wed, Apr 30, 2008 at 11:37:28AM +0200, Ingo Molnar wrote:
>
> * Sam Ravnborg <sam@ravnborg.org> 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@ravnborg.org>
Yes.

Sam