xtest: make: fix make when optee_test and optee_client are not in same directory with CFG_PKCS11_TA=y

Was seeing below issue when compiling with CFG_PKCS11_TA=y

make CFG_ARM64=y CFG_PKCS11_TA=y OPTEE_CLIENT_EXPORT=/home/optee_client_github/out/export/usr/ TA_DEV_KIT_DIR=/home/optee_os_github/out/arm-plat-ls/export-ta_arm64

make[1]: Entering directory '/home/optee_test_github/host/xtest'
  CC      /home/optee_test_github/host/xtest/regression_1000.c
cc1: error: ../../../optee_client/libckteec/include: No such file or directory [-Werror=missing-include-dirs]
cc1: all warnings being treated as errors
Makefile:162: recipe for target '/home/optee_test_github/out/xtest/regression_1000.o' failed
make[1]: *** [/home/optee_test_github/out/xtest/regression_1000.o] Error 1
make[1]: Leaving directory '/home/optee_test_github/host/xtest'
Makefile:38: recipe for target 'xtest' failed
make: *** [xtest] Error 2

Fixes: https://github.com/OP-TEE/optee_test/issues/505
Signed-off-by: Sahil Malhotra <sahil.malhotra@nxp.com>
Reviewed-by: Jerome Forissier <jerome@forissier.org>
1 file changed
tree: 231f3135e56fe7c87ebf5175047b917e4cbb3782
  1. .github/
  2. cert/
  3. host/
  4. scripts/
  5. ta/
  6. .gitignore
  7. Android.mk
  8. CMakeLists.txt
  9. CMakeToolchain.txt
  10. LICENSE.md
  11. Makefile
  12. README.md
  13. typedefs.checkpatch
README.md

OP-TEE sanity testsuite

This git contains source code for the test suite (xtest) used to test the OP-TEE project.

All official OP-TEE documentation has moved to http://optee.readthedocs.io. The information that used to be here in this git can be found under optee_test.

// OP-TEE core maintainers