[oe] Using external cross-compiler

Paul Eggleton paul.eggleton at linux.intel.com
Sat Sep 3 14:01:02 UTC 2011


On Saturday 03 September 2011 14:26:14 Mikhail Boiko wrote:
> Hi,
> 
> I've got some issues with configuring OE to use external cross compiler
> (CodeSourcery 2011.03).
> II've added this lines to my local.conf file:
> TARGET_VENDOR = "-none"
> TOOLCHAIN_TYPE = "external"
> TOOLCHAIN_BRAND = "csl"
> TOOLCHAIN_PATH = "/home/mike/x-tools/cs_2011_03"
> TOOLCHAIN_SYSPATH = "${TOOLCHAIN_PATH}/arm-none-linux-gnueabi"
> PATH_prepend = "${TOOLCHAIN_PATH}/bin:"
>..
> As you see, it try to use arm-angstrom-linux-gnueabi when I have
> only arm-none-linux-gnueab avaliable.
> Please, give some advices to solve this sissue.

So the distro's TARGET_VENDOR is not being overridden; according to [1] you 
need to set TOOLCHAIN_VENDOR rather than TARGET_VENDOR so that this happens.

Cheers,
Paul

[1] http://lists.linuxtogo.org/pipermail/openembedded-devel/2011-
February/030371.html


-- 

Paul Eggleton
Intel Open Source Technology Centre




More information about the Openembedded-devel mailing list