diff --git a/tf-psa-crypto/CMakeLists.txt b/tf-psa-crypto/CMakeLists.txt index 419cd80f21..fb27e2a9e8 100644 --- a/tf-psa-crypto/CMakeLists.txt +++ b/tf-psa-crypto/CMakeLists.txt @@ -431,7 +431,6 @@ if(ENABLE_TESTING OR ENABLE_PROGRAMS) target_include_directories(tf_psa_crypto_test PRIVATE ${TF_PSA_CRYPTO_FRAMEWORK_DIR}/tests/include PRIVATE tests/include - PRIVATE ${MBEDTLS_DIR}/include PRIVATE include PRIVATE drivers/builtin/include PRIVATE drivers/everest/include diff --git a/tf-psa-crypto/core/CMakeLists.txt b/tf-psa-crypto/core/CMakeLists.txt index ccf11480a0..2e8009358f 100644 --- a/tf-psa-crypto/core/CMakeLists.txt +++ b/tf-psa-crypto/core/CMakeLists.txt @@ -132,8 +132,7 @@ foreach(target IN LISTS target_libraries) # ${MBEDTLS_DIR}/include/ as we still need it. Include private header files # from core/ and drivers/builtin/src/. target_include_directories(${target} - PUBLIC $ - $ + PUBLIC $ $ $ PRIVATE ${TF_PSA_CRYPTO_DIR}/core diff --git a/tf-psa-crypto/drivers/builtin/CMakeLists.txt b/tf-psa-crypto/drivers/builtin/CMakeLists.txt index 983e050199..805ded1ffd 100644 --- a/tf-psa-crypto/drivers/builtin/CMakeLists.txt +++ b/tf-psa-crypto/drivers/builtin/CMakeLists.txt @@ -84,7 +84,6 @@ foreach (target IN LISTS target_libraries) target_include_directories(${target} PUBLIC $ $ - $ $ PRIVATE ${TF_PSA_CRYPTO_DIR}/core) set_config_files_compile_definitions(${target}) diff --git a/tf-psa-crypto/drivers/everest/CMakeLists.txt b/tf-psa-crypto/drivers/everest/CMakeLists.txt index 8c7b7c155f..1b40026270 100644 --- a/tf-psa-crypto/drivers/everest/CMakeLists.txt +++ b/tf-psa-crypto/drivers/everest/CMakeLists.txt @@ -8,7 +8,6 @@ add_library(${everest_target} set_base_compile_options(${everest_target}) target_include_directories(${everest_target} PUBLIC $ - $ $ $ $ diff --git a/tf-psa-crypto/drivers/p256-m/CMakeLists.txt b/tf-psa-crypto/drivers/p256-m/CMakeLists.txt index 3e62627e8c..cbcb43f396 100644 --- a/tf-psa-crypto/drivers/p256-m/CMakeLists.txt +++ b/tf-psa-crypto/drivers/p256-m/CMakeLists.txt @@ -9,7 +9,6 @@ set_base_compile_options(${p256m_target}) target_include_directories(${p256m_target} PUBLIC $ $ - $ $ $ $