All of lore.kernel.org
 help / color / mirror / Atom feed
* two architectures,same source tree
@ 2006-12-20 18:32 Yakov Lerner
  2006-12-20 18:57 ` Jan-Benedict Glaw
  2006-12-20 19:03 ` Jörn Engel
  0 siblings, 2 replies; 6+ messages in thread
From: Yakov Lerner @ 2006-12-20 18:32 UTC (permalink / raw)
  To: Kernel

Is it easily possible to build two architectures in
the same source tree (so that intermediate fles
and resut files do not interfere ) ?

Thanks
Yakov

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: two architectures,same source tree
  2006-12-20 18:32 two architectures,same source tree Yakov Lerner
@ 2006-12-20 18:57 ` Jan-Benedict Glaw
  2006-12-20 19:03 ` Jörn Engel
  1 sibling, 0 replies; 6+ messages in thread
From: Jan-Benedict Glaw @ 2006-12-20 18:57 UTC (permalink / raw)
  To: Yakov Lerner; +Cc: Kernel

[-- Attachment #1: Type: text/plain, Size: 616 bytes --]

On Wed, 2006-12-20 20:32:20 +0200, Yakov Lerner <iler.ml@gmail.com> wrote:
> Is it easily possible to build two architectures in
> the same source tree (so that intermediate fles
> and resut files do not interfere ) ?

Sure. Use a common source tree and two separate output directories.
You can set these with O=/path/to/output, but you need to do that
during *any* make calls, eg. already for make oldconfig/menuconfig.

MfG, JBG

-- 
      Jan-Benedict Glaw      jbglaw@lug-owl.de              +49-172-7608481
Signature of:                 Friends are relatives you make for yourself.
the second  :

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: two architectures,same source tree
  2006-12-20 18:32 two architectures,same source tree Yakov Lerner
  2006-12-20 18:57 ` Jan-Benedict Glaw
@ 2006-12-20 19:03 ` Jörn Engel
  1 sibling, 0 replies; 6+ messages in thread
From: Jörn Engel @ 2006-12-20 19:03 UTC (permalink / raw)
  To: Yakov Lerner; +Cc: Kernel

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. :)

Jörn

-- 
Linux [...] existed just for discussion between people who wanted
to show off how geeky they were.
-- Rob Enderle

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: two architectures,same source tree
       [not found] ` <7ueZm-17M-25@gated-at.bofh.it>
@ 2006-12-22 20:45   ` Bodo Eggert
  2006-12-22 21:00     ` Randy Dunlap
  0 siblings, 1 reply; 6+ messages in thread
From: Bodo Eggert @ 2006-12-22 20:45 UTC (permalink / raw)
  To: Jörn Engel, Yakov Lerner, Kernel

Jörn Engel <joern@lazybastard.org> 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.
-- 
Ich danke GMX dafür, die Verwendung meiner Adressen mittels per SPF
verbreiteten Lügen zu sabotieren.

http://david.woodhou.se/why-not-spf.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: two architectures,same source tree
  2006-12-22 20:45   ` Bodo Eggert
@ 2006-12-22 21:00     ` Randy Dunlap
  2006-12-26 15:17       ` Geert Uytterhoeven
  0 siblings, 1 reply; 6+ messages in thread
From: Randy Dunlap @ 2006-12-22 21:00 UTC (permalink / raw)
  To: 7eggert; +Cc: Jörn Engel, Yakov Lerner, Kernel

On Fri, 22 Dec 2006 21:45:26 +0100 Bodo Eggert wrote:

> Jörn Engel <joern@lazybastard.org> 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.


---
~Randy

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: two architectures,same source tree
  2006-12-22 21:00     ` Randy Dunlap
@ 2006-12-26 15:17       ` Geert Uytterhoeven
  0 siblings, 0 replies; 6+ messages in thread
From: Geert Uytterhoeven @ 2006-12-26 15:17 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: 7eggert, Jörn Engel, Yakov Lerner, Kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: TEXT/PLAIN; charset=UTF-8, Size: 1241 bytes --]

On Fri, 22 Dec 2006, Randy Dunlap wrote:
> On Fri, 22 Dec 2006 21:45:26 +0100 Bodo Eggert wrote:
> > Jörn Engel <joern@lazybastard.org> 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@linux-m68k.org

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-12-26 15:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-20 18:32 two architectures,same source tree Yakov Lerner
2006-12-20 18:57 ` Jan-Benedict Glaw
2006-12-20 19:03 ` Jörn Engel
     [not found] <7uewg-7Un-7@gated-at.bofh.it>
     [not found] ` <7ueZm-17M-25@gated-at.bofh.it>
2006-12-22 20:45   ` Bodo Eggert
2006-12-22 21:00     ` Randy Dunlap
2006-12-26 15:17       ` Geert Uytterhoeven

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.