Closed kuldeepmarker-eaton closed 2 years ago
@kuldeepmarker-eaton this is a bit beyond the scope of optee_examples
I think, and I am still learning about Yocto myself... but here is what I can say.
Examples can easily be extended by adding a new sub-directory similar to the existing ones (aes/
, hello_world/
etc.). You can remove everything you don't need, for example if you want to test the fTPM TA you don't need any TA code. With Yocto you can add INHERIT += "rm_work"
in your local config so that the source directory is preserved, then use bitbake -c compile -f optee-examples
to build only that. One you have something working you generate a local patch (Git comit and git format-patch HEAD^
) and then you add it to the Yocto recipe via SRC_URI:append = "file://<your-patch-name>.patch"
.
HTH.
This issue has been marked as a stale issue because it has been open (more than) 30 days with no activity. Remove the stale label or add a comment, otherwise this issue will automatically be closed in 5 days. Note, that you can always re-open a closed issue at any time.
I want to test fTPM TA so I thought of making use of optee-examples. I am using OPENSTLinux distro. In that there is a recipe which builds the existing optee-examples and it can be included in my final image. So I want to use that recipe and add my example code which can be build using the same recipe. I am not getting how should I proceed since my files will be local files and how it can be made part of optee_examples build. Following is the recipe used by me.