[oe] How can I get the toolchain?

Brian Hutchinson b.hutchman at gmail.com
Thu Apr 17 01:47:59 UTC 2014


On Wed, Apr 16, 2014 at 9:42 PM, Brian Hutchinson <b.hutchman at gmail.com>wrote:

> On Wed, Apr 16, 2014 at 9:33 PM, Changhyeok Bae <changhyeok.bae at lge.com>wrote:
>
>> Thanks for your help.
>>
>> In summary,
>> 1) bitbake meta-toolchain
>> 2) bitbake [target] -c populate_sdk ...
>>
>> However, those were building ...nativesdk ...
>> I only would like to get the cross(arm) toolchain without building SDK
>> toolchain.
>>
>> Regards,
>> Changhyeok
>>
>>
> ... those do build the cross sdk/toolchain.  You take the huge script that
> is generated and install it on your PC, source the environment setup script
> and now you are setup to cross compile on your host for the target.
>
> Regards,
>
> Brian
>
>

... in your local.conf, you do have to set SDKMACHINE to something.  I have
to build toolchains that work on both 32 bit & 64 bit hosts so usually do a
build with:
SDKMACHINE ?= "x86_64" ... then do another build of sdk with:
SDKMACHINE ?= "i686"



More information about the Openembedded-devel mailing list