Re: two architectures,same source tree
From: Geert Uytterhoeven
Date: Tue Dec 26 2006 - 10:19:34 EST
On Fri, 22 Dec 2006, Randy Dunlap wrote:
> On Fri, 22 Dec 2006 21:45:26 +0100 Bodo Eggert wrote:
> > Jörn Engel <joern@xxxxxxxxxxxxxxx> wrote:
> > > On Wed, 20 December 2006 20:32:20 +0200, Yakov Lerner wrote:
> >
> > >> Is it easily possible to build two architectures in
> > >> the same source tree (so that intermediate fles
> > >> and resut files do not interfere ) ?
> > >
> > > I'd try something like this:
> > > make O=../foo ARCH=foo
> > > make O=../bar ARCH=bar
> > >
> > > But as I'm lazy I'll leave the debugging to you. :)
> >
> > IIRC You'll have to specify ARCH= on each make call, but O= is saved in
> > ../foo/Makefile.
>
> Hm, top-level README file says:
>
> Please note: If the 'O=output/dir' option is used then it must be
> used for all invocations of make.
That should be: `... for all invocations of make in the source tree directory'.
It's done automaticallt when invoking make in the build directory.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds