set CFG_TA_TEST_PATH=y for optee_client build

With CFG_TA_TEST_PATH now defaulting to n in optee_client for better
security, this needs to be set explicitly to pass xtest 1008.

Signed-off-by: Victor Chong <victor.chong@linaro.org>
Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
diff --git a/br-ext/package/optee_client/optee_client.mk b/br-ext/package/optee_client/optee_client.mk
index 9b0b01e..16beed3 100644
--- a/br-ext/package/optee_client/optee_client.mk
+++ b/br-ext/package/optee_client/optee_client.mk
@@ -8,6 +8,8 @@
 OPTEE_CLIENT_CONF_OPTS = -DCFG_TEE_BENCHMARK=ON
 endif
 
+OPTEE_CLIENT_CONF_OPTS += -DCFG_TA_TEST_PATH=y
+
 define OPTEE_CLIENT_INSTALL_SUPPLICANT_SCRIPT
 	$(INSTALL) -m 0755 -D $(OPTEE_CLIENT_PKGDIR)/S30optee \
 		$(TARGET_DIR)/etc/init.d/S30optee
diff --git a/common.mk b/common.mk
index a34e0e0..00d6146 100644
--- a/common.mk
+++ b/common.mk
@@ -404,6 +404,7 @@
 
 OPTEE_CLIENT_COMMON_FLAGS ?= CROSS_COMPILE=$(CROSS_COMPILE_NS_USER) \
 	CFG_TEE_BENCHMARK=$(CFG_TEE_BENCHMARK) \
+	CFG_TA_TEST_PATH=y
 
 .PHONY: optee-client-common
 optee-client-common: