From 4cef20d00b22582f0c02a013e27940b294e0bf34 Mon Sep 17 00:00:00 2001 From: Waleed Elmelegy Date: Thu, 22 Aug 2024 15:26:05 +0100 Subject: [PATCH] Fix everest build issue Signed-off-by: Waleed Elmelegy --- CMakeLists.txt | 1 + tests/CMakeLists.txt | 1 + tests/scripts/test_psa_constant_names.py | 1 + tf-psa-crypto/drivers/p256-m/CMakeLists.txt | 1 + 4 files changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index b3a84b35e..a7f92f568 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -410,6 +410,7 @@ if(ENABLE_TESTING OR ENABLE_PROGRAMS) PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/tf-psa-crypto/include PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/tf-psa-crypto/drivers/builtin/include + PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/tf-psa-crypto/drivers/everest/include PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/library PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/tf-psa-crypto/core PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/tf-psa-crypto/drivers/builtin/src) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 8318e8bf3..eba6c5178 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -1,5 +1,6 @@ set(libs ${mbedtls_target} + ${everest_target} ${CMAKE_THREAD_LIBS_INIT} ) diff --git a/tests/scripts/test_psa_constant_names.py b/tests/scripts/test_psa_constant_names.py index 6c402dcf2..8ed0fee4b 100755 --- a/tests/scripts/test_psa_constant_names.py +++ b/tests/scripts/test_psa_constant_names.py @@ -163,6 +163,7 @@ def main(): parser.add_argument('--include', '-I', action='append', default=['tf-psa-crypto/include', 'tf-psa-crypto/drivers/builtin/include', + 'tf-psa-crypto/drivers/everest/include', 'include'], help='Directory for header files') parser.add_argument('--keep-c', diff --git a/tf-psa-crypto/drivers/p256-m/CMakeLists.txt b/tf-psa-crypto/drivers/p256-m/CMakeLists.txt index af046da7b..ae44123ca 100644 --- a/tf-psa-crypto/drivers/p256-m/CMakeLists.txt +++ b/tf-psa-crypto/drivers/p256-m/CMakeLists.txt @@ -12,6 +12,7 @@ target_include_directories(${p256m_target} $ $ $ + $ $ PRIVATE ${MBEDTLS_DIR}/library/ ${TF_PSA_CRYPTO_DIR}/core)