[yocto] Yocto doesn't recognize cross-compiled binaries inside SDK

Burton, Ross ross.burton at intel.com
Fri Dec 2 12:34:32 PST 2016


On 2 December 2016 at 18:36, Kun Yi <kunyi at google.com> wrote:

> Thanks for the explanation Alex! Will give the alternative you suggested a
> try.
> As I understand I will need to instruct Yocto to fetch necessary
> "native" toolchains and libs to compile the native variant recipe.
> Doesn't that make my recipe non-portable to other host architectures?
>

You can use BBCLASSEXTEND to make a native form of the recipe, or not use
the cross compilers.  But if you want to  actually test your code as it
should be executed then you'll need to run it either on the target, or in a
system qemu (which will need a complete rootfs).

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20161202/cf998310/attachment.html>


More information about the yocto mailing list