[yocto] Add custom tools to yocto build environment

Lukas Weiss lukas.weiss at janitza.de
Wed Jul 22 00:00:02 PDT 2015


Hello yocto friends,

I have a problem with yocto you could help me with. The Background:
Iam working on a yocto-linux for a TI OMAP-L138, which is a ARM9+DSP in one
package. The Linux on ARM is running fine, and does everything I want. I
have implemented a kernel driver to start the DSP-Core from the Linux on
the ARM9-Core, but now I need to generate the Firmware for the DSP with the
Yocto buid system. Main problem is, that I need a compiler/toolchain from
TI to compile the Code for the DSP in the yocto build environment.

At this point I did not understand how to add tools to the yocto build
environment at all. I think there must be a way to add software to my host
(build) system for generating code for my target. But I have no idea how to
do it. When I write a BB-recipe, the architecture of the resulting files is
checked to be from targets type (arm in my case), but host tools are of
type x86... (which is totally correct!)

I think I need a recipe, which downloads the compiler/toolchain for the
DSP, extracts and installs it to my yocto build environment, so that I can
use it in another recipe that compiles my code to a loadable firmware-image
(which is placed to my targets rootfs).

Do you have any suggestions for me how to do that?

Thanks,

Lukas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150722/70ece1af/attachment.html>


More information about the yocto mailing list