BBB - Yocto - OpTee


Currently I’m trying to implement Optee-os and Optee-client with the yocto project to a BBB, but I’m having issues when bitbaking op-tee packages.
For some reason it seems that the oe-runmake compilation fails because it cannot find the right directory.
What I did was I included beaglebone-yocto as a supported machine into

COMPATIBLE_MACHINE:beaglebone-yocto ?= “beaglebone-yocto”

as my Machine is that, but I guess I should tell the compiler somehow instead to try to find the makefile for the appropriate platform, but no such platform exists for optee-os (beaglebone).

Does anyone have any idea how to overcome this?

| core/ core/arch/arm/plat-beaglebone/ No such file or directory
| make: *** No rule to make target ‘core/arch/arm/plat-beaglebone/’. Stop.
| make: Leaving directory ‘/home/mate/Desktop/BeagleBone/poky/build/tmp/work/beaglebone_yocto-poky-linux-gnueabi/optee-os-tadevkit/3.22.0-r0/git’
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.

Source your build

$bitbake-layers show-layers

You should have meta-linaro/meta-optee in the list.

Just checked and those layers are only good for dunfell or older.

I’m using meta-arm / security as it was moved from linaro to there afaik