Remove use of CFG_DEV_PATH and CFG_OPTEE_TEST_PATH
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
Signed-off-by: Pascal Brand <pascal.brand@st.com>
diff --git a/scripts/patch_gp_testsuite.sh b/scripts/patch_gp_testsuite.sh
index 5dd09fd..75efaef 100755
--- a/scripts/patch_gp_testsuite.sh
+++ b/scripts/patch_gp_testsuite.sh
@@ -199,7 +199,7 @@
# openssl .h file installation
if [ -d /usr/include/openssl ]; then
- forgpdir=${CFG_DEV_PATH}/optee_test/host/xtest/for_gp/
+ forgpdir=${OPTEE_TEST_ROOT}/host/xtest/for_gp/
mkdir -p ${forgpdir}/include/openssl ${forgpdir}/lib
[ -d /usr/include/x86_64-linux-gnu/openssl ] && LCI_CPD /usr/include/x86_64-linux-gnu/openssl ${forgpdir}/include
for f in /usr/include/openssl/*.h ; do
@@ -214,7 +214,7 @@
cd ${CDIR}
LCI_PRINT_L1 "Update test: 9238 (TEE_GetOperationInfoMultiple)"
-ARRAY=(["FILE"]="${CFG_OPTEE_TEST_PATH}/host/xtest/xtest_9000.c"
+ARRAY=(["FILE"]="${OPTEE_TEST_ROOT}/host/xtest/xtest_9000.c"
["PATCH"]="${CFG_GP_XSL_PACKAGE_PATH}/host/xtest/xtest_9000.c.patch")
LCI_PATCH ${ARRAY[FILE]} ${ARRAY[PATCH]}
LCI_PRINT_SEPARATOR