Skip to contentSkip to conversation

two architectures,same source tree

DISCUSSION Yakov Lerner 3 participants 3 messages Dec 20, 2006

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 4 lines · Yakov Lerner

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

Signature · 3 lines
Linux [...] existed just for discussion between people who wanted
to show off how geeky they were.
-- Rob Enderle
#2 lore raw
In reply to Yakov Lerner
Quoted 3 lines · Yakov Lerner

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

Signature · 3 lines
      Jan-Benedict Glaw      [email protected]              +49-172-7608481
Signature of:                 Friends are relatives you make for yourself.
the second  :