Re: [PATCH 0/2] kbuild updates

From: Sam Ravnborg
Date: Mon Jun 21 2004 - 17:43:12 EST


On Mon, Jun 21, 2004 at 12:25:18AM +0200, Martin Schlemmer wrote:
> On Mon, 2004-06-21 at 00:18, Sam Ravnborg wrote:
> > On Mon, Jun 21, 2004 at 12:03:19AM +0200, Sam Ravnborg wrote:
> > > If I get just one good example I will go for the object directory, but
> > > what I have seen so far is whining - no examples.
> >
> > Now I recall why I did not like the object directory.
> > I will break all modules using the kbuild infrastructure!
> >
>
> Below do not really explain this - care to be more detailed?
>
> > Why, because there is no way the to find the output directory except
> > specifying both directories.
> > One could do:
> > make -C /lib/modules/`uname -r`/source O=/lib/modules/`uname -r`/build M=`pwd`
> >
>
> Huh? Explain to me how else you would do builds that have separate
> output directory? And what is the difference from above to:
>
> make -C /lib/modules/`uname -r`/build O=/lib/modules/`uname -r`/object M=`pwd`

Modules do not have O= specified.
And you did not address the issue with modules makefile grepping in src.

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/