From 524f75bdde3fc2776445f329161eb694f374a8c2 Mon Sep 17 00:00:00 2001 From: Ronald Cron Date: Fri, 8 Nov 2024 18:14:49 +0100 Subject: [PATCH] Remove library as header path Signed-off-by: Ronald Cron --- tf-psa-crypto/drivers/everest/CMakeLists.txt | 1 - tf-psa-crypto/drivers/p256-m/CMakeLists.txt | 3 +-- .../data_files/driver_jsons/p256_transparent_driver.json | 2 +- tf-psa-crypto/tests/CMakeLists.txt | 1 - 4 files changed, 2 insertions(+), 5 deletions(-) diff --git a/tf-psa-crypto/drivers/everest/CMakeLists.txt b/tf-psa-crypto/drivers/everest/CMakeLists.txt index 1b40026270..8dedcd4191 100644 --- a/tf-psa-crypto/drivers/everest/CMakeLists.txt +++ b/tf-psa-crypto/drivers/everest/CMakeLists.txt @@ -13,7 +13,6 @@ target_include_directories(${everest_target} $ PRIVATE include/everest include/everest/kremlib - ${MBEDTLS_DIR}/library ${TF_PSA_CRYPTO_DIR}/core) set_config_files_compile_definitions(${everest_target}) diff --git a/tf-psa-crypto/drivers/p256-m/CMakeLists.txt b/tf-psa-crypto/drivers/p256-m/CMakeLists.txt index cbcb43f396..b84cbec14e 100644 --- a/tf-psa-crypto/drivers/p256-m/CMakeLists.txt +++ b/tf-psa-crypto/drivers/p256-m/CMakeLists.txt @@ -13,8 +13,7 @@ target_include_directories(${p256m_target} $ $ $ - PRIVATE ${MBEDTLS_DIR}/library/ - ${TF_PSA_CRYPTO_DIR}/core) + PRIVATE ${TF_PSA_CRYPTO_DIR}/core) set_config_files_compile_definitions(${p256m_target}) if(INSTALL_TF_PSA_CRYPTO_HEADERS) diff --git a/tf-psa-crypto/scripts/data_files/driver_jsons/p256_transparent_driver.json b/tf-psa-crypto/scripts/data_files/driver_jsons/p256_transparent_driver.json index 4794074756..c0802f4b27 100644 --- a/tf-psa-crypto/scripts/data_files/driver_jsons/p256_transparent_driver.json +++ b/tf-psa-crypto/scripts/data_files/driver_jsons/p256_transparent_driver.json @@ -2,7 +2,7 @@ "prefix": "p256", "type": "transparent", "mbedtls/h_condition": "defined(MBEDTLS_PSA_P256M_DRIVER_ENABLED)", - "headers": ["../tf-psa-crypto/drivers/p256-m/p256-m_driver_entrypoints.h"], + "headers": ["../drivers/p256-m/p256-m_driver_entrypoints.h"], "capabilities": [ { "mbedtls/c_condition": "defined(MBEDTLS_PSA_P256M_DRIVER_ENABLED)", diff --git a/tf-psa-crypto/tests/CMakeLists.txt b/tf-psa-crypto/tests/CMakeLists.txt index 2929cf3a68..a1ecca211d 100644 --- a/tf-psa-crypto/tests/CMakeLists.txt +++ b/tf-psa-crypto/tests/CMakeLists.txt @@ -304,7 +304,6 @@ function(add_test_suite suite_name) # them as PUBLIC. target_include_directories(test_suite_${data_name} PRIVATE ${TF_PSA_CRYPTO_FRAMEWORK_DIR}/tests/include - PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../../library PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../core PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../drivers/builtin/src) # Request C11, which is needed for memory poisoning tests