Build: Make cc312 support libraries INTERFACE type
To resolve an accidental link between secure bl2, by duplicating the
libraries for each target.
Change-Id: I9e5103d1ac95d95ed6fd03b477084e216b8ea316
Signed-off-by: Raef Coles <raef.coles@arm.com>
diff --git a/lib/ext/cryptocell-312-runtime/shared/CMakeLists.txt b/lib/ext/cryptocell-312-runtime/shared/CMakeLists.txt
index c29db13..4435fde 100644
--- a/lib/ext/cryptocell-312-runtime/shared/CMakeLists.txt
+++ b/lib/ext/cryptocell-312-runtime/shared/CMakeLists.txt
@@ -28,17 +28,16 @@
)
target_include_directories(${CC312_PAL_TARGET}
- PRIVATE
+ INTERFACE
include
include/proj/cc3x
hw/include
- PUBLIC
include/pal
include/pal/no_os
)
target_include_directories(${CC312_CDMPU_TARGET}
- PRIVATE
+ INTERFACE
include/crypto_api
include/crypto_api/cc3x
include/cc_mng