mirror of https://github.com/ARMmbed/mbed-os.git
CMake: Add mbed-psa-tal (Test Abstraction Layers)
Move /val and /pal directories into /test_abstraction_layers directory and combine into one CMake target, mbed-psa-tal. Moved into seperate directory in order to have own CMakeLists.txt, rather than adding to /TARGET_MBED_PSA_SRV CMake file.pull/14828/head
parent
26290addbe
commit
62f110c89b
|
@ -6,7 +6,6 @@ target_include_directories(mbed-psa
|
||||||
inc
|
inc
|
||||||
inc/psa
|
inc/psa
|
||||||
mbedtls
|
mbedtls
|
||||||
pal
|
|
||||||
services/platform
|
services/platform
|
||||||
services/attestation
|
services/attestation
|
||||||
services/attestation/qcbor
|
services/attestation/qcbor
|
||||||
|
@ -28,13 +27,6 @@ target_sources(mbed-psa
|
||||||
mbedtls/psa_crypto_storage.c
|
mbedtls/psa_crypto_storage.c
|
||||||
mbedtls/psa_its_file.c
|
mbedtls/psa_its_file.c
|
||||||
|
|
||||||
pal/pal_attestation_eat.c
|
|
||||||
pal/pal_attestation_intf.c
|
|
||||||
pal/pal_client_api_empty_intf.c
|
|
||||||
pal/pal_client_api_intf.c
|
|
||||||
pal/pal_internal_trusted_storage_intf.c
|
|
||||||
pal/pal_protected_storage_intf.c
|
|
||||||
|
|
||||||
services/attestation/attest_boot_status_loader.c
|
services/attestation/attest_boot_status_loader.c
|
||||||
services/attestation/attest_crypto.c
|
services/attestation/attest_crypto.c
|
||||||
services/attestation/attest_crypto_keys.c
|
services/attestation/attest_crypto_keys.c
|
||||||
|
@ -78,3 +70,6 @@ target_link_libraries(mbed-psa
|
||||||
mbed-storage-kv-global-api
|
mbed-storage-kv-global-api
|
||||||
mbed-device_key
|
mbed-device_key
|
||||||
)
|
)
|
||||||
|
|
||||||
|
add_subdirectory(test_abstraction_layers)
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,32 @@
|
||||||
|
# Copyright (c) 2021 ARM Limited. All rights reserved.
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
|
add_library(mbed-psa-tal INTERFACE)
|
||||||
|
|
||||||
|
target_include_directories(mbed-psa-tal
|
||||||
|
INTERFACE
|
||||||
|
pal
|
||||||
|
val
|
||||||
|
)
|
||||||
|
|
||||||
|
target_sources(mbed-psa-tal
|
||||||
|
INTERFACE
|
||||||
|
pal/pal_attestation_eat.c
|
||||||
|
pal/pal_attestation_intf.c
|
||||||
|
pal/pal_client_api_empty_intf.c
|
||||||
|
pal/pal_client_api_intf.c
|
||||||
|
pal/pal_internal_trusted_storage_intf.c
|
||||||
|
pal/pal_protected_storage_intf.c
|
||||||
|
pal/pal_mbed_os_intf.cpp
|
||||||
|
|
||||||
|
val/val_attestation.c
|
||||||
|
val/val_interfaces.c
|
||||||
|
val/val_internal_trusted_storage.c
|
||||||
|
val/val_protected_storage.c
|
||||||
|
val/val_greentea.cpp
|
||||||
|
)
|
||||||
|
|
||||||
|
target_link_libraries(mbed-psa-tal
|
||||||
|
INTERFACE
|
||||||
|
mbed-psa
|
||||||
|
)
|
Loading…
Reference in New Issue