how to add my own app to yocto

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how to add my own app to yocto

1,613 Views
guoyyun1402
Contributor I

Hello all,

    I am using imx8mm, and i want to add my app to yocto, how should i do? thanks!

Labels (1)
0 Kudos
1 Reply

1,559 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello Ang Guo,

If you wish to add your own application, you would need to port to Yocto. The best way to do this would be creating a new Yocto layer and your own recipe that will fetch, compile and install your application.

This is no trivial task, but there are a few useful resources on the Yocto documentation.

For more details on how to create a new Layer and how layers work in Yocto please look at the following section of the Yocto Project Manual:

https://www.yoctoproject.org/docs/2.4/mega-manual/mega-manual.html#understanding-and-creating-layers

As for how recipes work and creating a new recipe please look at the following section of the same document:

https://www.yoctoproject.org/docs/2.4/mega-manual/mega-manual.html#new-recipe-writing-a-new-recipe

I hope this helps!

Regards,

0 Kudos