Re: Makefile : can I use both 'O=' and 'M=' ?

From: Tom Rini
Date: Tue Oct 25 2005 - 12:19:57 EST


On Tue, Oct 25, 2005 at 10:01:35AM +0200, Sam Ravnborg wrote:
> > Hi all,
> >
> > When compiling an external module, is it possible to use both 'O=...'
> > and 'M=...' in the make command line ?
>
> Hi Oliver.
>
> O=... is used to tell kbuild where the output of the kernel compile is
> placed.
> There is no support for specifying a separate object directory when
> compiling external modules.

Perhaps he wants something like
make O=... SUBDIRS="$SUBDIRS ...." to compile the normal kernel + an
external module located elsewhere?

--
Tom Rini
http://gate.crashing.org/~trini/
-
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/