From 45eec2295c82c6e49f6c79fc4baec69317371ab6 Mon Sep 17 00:00:00 2001 From: Ronald Cron Date: Fri, 8 Nov 2024 15:49:39 +0100 Subject: [PATCH] Remove include as header path Signed-off-by: Ronald Cron --- tf-psa-crypto/CMakeLists.txt | 1 - tf-psa-crypto/core/CMakeLists.txt | 3 +-- tf-psa-crypto/drivers/builtin/CMakeLists.txt | 1 - tf-psa-crypto/drivers/everest/CMakeLists.txt | 1 - tf-psa-crypto/drivers/p256-m/CMakeLists.txt | 1 - 5 files changed, 1 insertion(+), 6 deletions(-) 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 $ $ - $ $ $ $