Skip to contentSkip to conversation

how to share just the host tools among different builds?

DISCUSSION Robert P. J. Day 2 participants 3 messages Jan 5, 2015

lore
Share & tools
lore
#0 lore raw

i'm drawing a blank at the moment so this might be a trivial
question -- is there a way to share the non-toolchain, host tools across different builds on my development host?

if i'm doing closely-related builds (or even for totally different
architectures), i can see the host tools that are built under tmp/sysroots/x86_64-linux/... and one would think that, theoretically, those tools are appropriate for all sorts of independent builds, even if the toolchain is different.

is there a simple setting that allows me to take advantage of all
those host tools that were built during an initial build, and continue to use them in subsequent builds?

rday

Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
#1 lore raw
Quoted 10 lines · Robert P. J. Day

i'm drawing a blank at the moment so this might be a trivial
question -- is there a way to share the non-toolchain, host tools across different builds on my development host?

if i'm doing closely-related builds (or even for totally different
architectures), i can see the host tools that are built under tmp/sysroots/x86_64-linux/... and one would think that, theoretically, those tools are appropriate for all sorts of independent builds, even if the toolchain is different.

Quoted 3 lines

is there a simple setting that allows me to take advantage of all
those host tools that were built during an initial build, and continue to use them in subsequent builds?

Its called sstate ;-).

Just share the native parts between the builds. They're usually in a distro specific directory.

Cheers,

Richard

#2 lore raw
Quoted 11 lines · Richard Purdie
Quoted 10 lines · Robert P. J. Day

i'm drawing a blank at the moment so this might be a trivial
question -- is there a way to share the non-toolchain, host tools across different builds on my development host?

if i'm doing closely-related builds (or even for totally different
architectures), i can see the host tools that are built under tmp/sysroots/x86_64-linux/... and one would think that, theoretically, those tools are appropriate for all sorts of independent builds, even if the toolchain is different.

Quoted 8 lines
Quoted 3 lines

is there a simple setting that allows me to take advantage of all
those host tools that were built during an initial build, and continue to use them in subsequent builds?

Its called sstate ;-).

Just share the native parts between the builds. They're usually in a distro specific directory.

i suspected it was sstate-related, just wanted to be sure i could be
that specific. will go back to reading now ...

rday

Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================