My changes are not being reflected in my optee build

Hello, I’m intermittently getting my trusted applications built and the changes are being reflected on my board. I current am trying to build a ta in the optee_ examples folder . So right now i’m using these commands.

. build/
lunch hikey960-userdebug 
mmm external/optee_example/hello_world 

is this the correct way to build a ta within the android build system?

I don’t use mmm and friends so can’t really tell you much. For non-OP-TEE related targets it might be ok, but for OP-TEE related ones, please use build-<version>[-<board>].sh <target1> [<target2> ..], since the scripts exports some variables required for the OP-TEE build. E.g. optee_example_hello_world 8aaaf200-2450-11e4-abe2-0002a5d5c51b.ta.ta