Add attestation SP deployment
Adds a new deployment for running an Attestation service provider
in an SP for the opteesp environment. Attestation service level
tests have been moved to the common ts-service-test.cmake file
so tests can be run in target and native PC environments. The
Attestation SP has the following limitations:
- Mocked up event log - integration with TF-A/SPM not yet complete
- Uses mbedcrypto directly rather than teh Crypto service
Signed-off-by: Julian Hall <julian.hall@arm.com>
Signed-off-by: Gyorgy Szing <gyorgy.szing@arm.com>
Change-Id: Ib5efffaab1b23e5c31cbf87aba7ebcf3589aeb3a
diff --git a/external/qcbor/0002-Add-install-definition.patch b/external/qcbor/0002-Add-install-definition.patch
new file mode 100644
index 0000000..f6f0033
--- /dev/null
+++ b/external/qcbor/0002-Add-install-definition.patch
@@ -0,0 +1,38 @@
+From cb011e7c8ad650bb0dd24930bf19da4a4620e30b Mon Sep 17 00:00:00 2001
+From: Gyorgy Szing <Gyorgy.Szing@arm.com>
+Date: Mon, 5 Jul 2021 06:45:47 +0000
+Subject: [PATCH 2/2] Add install definition
+
+Add install() calls to define stable way to access build artifacts.
+---
+ CMakeLists.txt | 17 +++++++++++++++++
+ 1 file changed, 17 insertions(+)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 4e4756d..b26edce 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -20,3 +20,20 @@ set(SOURCE
+ )
+
+ add_library(qcbor ${SOURCE})
++
++install(
++ TARGETS
++ qcbor
++ ARCHIVE DESTINATION
++ lib
++ PUBLIC_HEADER DESTINATION
++ include/qcbor
++ COMPONENT
++ qcbor
++)
++
++install(
++ DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/inc/
++ DESTINATION include
++ COMPONENT qcbor
++)
+--
+2.17.1
+