MMM android build equlivent

I’m currently having problems with generating a .so file. in android aosp your able to build a specific package (e.g application) by running “mmm”. is there an equivalent for optee+android?

Should be the same. Its still AOSP.
Did you forget to run . build/envsetup.sh at the platform root?

i did but i does not have an option to build for the hikey960 when you run lunch. in my out directory i have generic (the emulator) and the hikey.

EDIT: in the build.sh script i figured out that you can specify a option that is not on the list when you run lunch.