AnsweredAssumed Answered

Building yocto using external toolchain?

Question asked by Michael Buynak on Sep 17, 2013
Latest reply on Feb 9, 2015 by Manjunath Joshi
Branched to a new discussion

Hello,

 

I'm new to using Yocto, and would like to avoid it's habit of rebuilding the cross compiler each time it runs a clean build.  I have previously successfully built the SDK using 'bitbake meta-toolchain', and installed it to the default location /opt/poky/1.4.1.

 

I can now use this SDK to build apps external to yocto.  What I want to do is have yocto always use my new pre-built toolchain, instead of recreating gcc each time I perform a build.  I've researched the web, and have seen several people allude to how to solve this problem, but I haven't see an answer yet.

 

The poky handbook says

"Using the external toolchains is simply a case of untarring the tarball into the root of your system (it only creates files in /usr/local/poky) and then enabling the option in local.conf. "

 

But it doesn't tell you how... .  Anybody know how to do this?

Outcomes