Disable OPTEE TA

Hello, I’m working with a Rock960-ab board and Android 9 on a project that requires any hardware keymasters to be disabled, so it fallbacks to a software implementation. I’ve tried commenting out the corresponding PRODUCT_PACKAGES entries on device/rockchip/common/device.mk but after building that service is still present in the installed files. Is there any way to disable the Trusted Application from building, or should I disable OPTEE altogether?