Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I specify which compiler toolchain Yocto uses to build images?

For example how could I get my image to be compiled using:

gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux

?

What does core-image-sato has to do with the toolchains (they supply with Yocto)? I don't understand...

like image 431
JohnyTex Avatar asked Sep 23 '14 10:09

JohnyTex


1 Answers

in local.conf, specify the path of your toolchain in your system.

EXTERNAL_TOOLCHAIN = "/home/manjunath/linaro/gcc-linaro-arm-linux-gnueabihf-4.7-2014.11-20121123_linux"

In your original toolchain distro add toolchain-external-linaro.inc

More specifically

you get a directory named meta-linaro-toolchain. you may copy complete or

Add .inc to your distribution (sources/poky/meta-yocto/conf/distro/ in my case)

Try now ...

like image 148
manjunath Avatar answered Jan 04 '23 13:01

manjunath