Remove library as header path

Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
Ronald Cron 2024-11-08 18:14:49 +01:00
parent 45eec2295c
commit 524f75bdde
4 changed files with 2 additions and 5 deletions

View File

@ -13,7 +13,6 @@ target_include_directories(${everest_target}
$<INSTALL_INTERFACE:include> $<INSTALL_INTERFACE:include>
PRIVATE include/everest PRIVATE include/everest
include/everest/kremlib include/everest/kremlib
${MBEDTLS_DIR}/library
${TF_PSA_CRYPTO_DIR}/core) ${TF_PSA_CRYPTO_DIR}/core)
set_config_files_compile_definitions(${everest_target}) set_config_files_compile_definitions(${everest_target})

View File

@ -13,8 +13,7 @@ target_include_directories(${p256m_target}
$<BUILD_INTERFACE:${TF_PSA_CRYPTO_DIR}/drivers/builtin/include> $<BUILD_INTERFACE:${TF_PSA_CRYPTO_DIR}/drivers/builtin/include>
$<BUILD_INTERFACE:${TF_PSA_CRYPTO_DIR}/drivers/everest/include> $<BUILD_INTERFACE:${TF_PSA_CRYPTO_DIR}/drivers/everest/include>
$<INSTALL_INTERFACE:include> $<INSTALL_INTERFACE:include>
PRIVATE ${MBEDTLS_DIR}/library/ PRIVATE ${TF_PSA_CRYPTO_DIR}/core)
${TF_PSA_CRYPTO_DIR}/core)
set_config_files_compile_definitions(${p256m_target}) set_config_files_compile_definitions(${p256m_target})
if(INSTALL_TF_PSA_CRYPTO_HEADERS) if(INSTALL_TF_PSA_CRYPTO_HEADERS)

View File

@ -2,7 +2,7 @@
"prefix": "p256", "prefix": "p256",
"type": "transparent", "type": "transparent",
"mbedtls/h_condition": "defined(MBEDTLS_PSA_P256M_DRIVER_ENABLED)", "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": [ "capabilities": [
{ {
"mbedtls/c_condition": "defined(MBEDTLS_PSA_P256M_DRIVER_ENABLED)", "mbedtls/c_condition": "defined(MBEDTLS_PSA_P256M_DRIVER_ENABLED)",

View File

@ -304,7 +304,6 @@ function(add_test_suite suite_name)
# them as PUBLIC. # them as PUBLIC.
target_include_directories(test_suite_${data_name} target_include_directories(test_suite_${data_name}
PRIVATE ${TF_PSA_CRYPTO_FRAMEWORK_DIR}/tests/include 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}/../core
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../drivers/builtin/src) PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../drivers/builtin/src)
# Request C11, which is needed for memory poisoning tests # Request C11, which is needed for memory poisoning tests