xtest: remove CFG_SECSTOR_TA_MGMT_PTA dependency

Makes xtest tool more flexible regarding OP-TEE configuration
of CFG_SECSTOR_TA_MGMT_PTA.

Embed TA install interface in xtest even if devkit configuration
says the secure storage TA management PTA service is not available.
If the service is not found (secstor TA management PTA) print an
explicit error message instead.

This change does not change xtest regression suite behavior and will
still fails if one uses --install-ta option when the effective embedded
TEE does not provide this service. This change adds an explicit error
message when so.

Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
diff --git a/Android.mk b/Android.mk
index 79cb326..556b945 100644
--- a/Android.mk
+++ b/Android.mk
@@ -53,6 +53,7 @@
 	regression_8000.c \
 	regression_8100.c \
 	hash_perf.c \
+	install_ta.c \
 	stats.c \
 	symm_cipher_perf.c \
 	xtest_helpers.c \
@@ -64,10 +65,6 @@
 srcs += ffa_spmc_1000.c
 endif
 
-ifeq ($(CFG_SECSTOR_TA_MGMT_PTA),y)
-srcs += install_ta.c
-endif
-
 ifeq ($(CFG_SECURE_DATA_PATH),y)
 srcs += sdp_basic.c
 endif