aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRaef Coles <raef.coles@arm.com>2020-10-08 13:30:03 +0100
committerTamas Ban <tamas.ban@arm.com>2020-10-21 09:06:48 +0000
commit3ebf12d1e5e525e9015bafcc52b663b5f90c6055 (patch)
tree1502bfd7f3b4100a52baa677322c3916e945f277 /lib
parent75bf7968c4ac1653fd484dad5980339951807748 (diff)
downloadtrusted-firmware-m-3ebf12d1e5e525e9015bafcc52b663b5f90c6055.tar.gz
Build: Disable CC312 logging except in debug build
Change-Id: I474af6ce6c5d1b35aa45a5aecb7ad1a639bc63a2 Signed-off-by: Raef Coles <raef.coles@arm.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/ext/cryptocell-312-runtime/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ext/cryptocell-312-runtime/CMakeLists.txt b/lib/ext/cryptocell-312-runtime/CMakeLists.txt
index cf0be8715..46f6c8437 100644
--- a/lib/ext/cryptocell-312-runtime/CMakeLists.txt
+++ b/lib/ext/cryptocell-312-runtime/CMakeLists.txt
@@ -44,7 +44,7 @@ target_compile_definitions(${CC312_LIB_TARGET}
DLLI_MAX_BUFF_SIZE=0x10000
USE_MBEDTLS_CRYPTOCELL
CC_MNG_MIN_BACKUP_SIZE_IN_BYTES=512
- CC_PAL_MAX_LOG_LEVEL=3
+ $<$<OR:$<CONFIG:Debug>,$<CONFIG:relwithdebinfo>>:CC_PAL_MAX_LOG_LEVEL=3>
PUBLIC
CC_IOT
)
@@ -58,7 +58,7 @@ target_link_libraries(${CC312_LIB_TARGET}
target_compile_definitions(${CC312_PAL_TARGET}
PRIVATE
CC_TRNG_MODE=0
- CC_PAL_MAX_LOG_LEVEL=3
+ $<$<OR:$<CONFIG:Debug>,$<CONFIG:relwithdebinfo>>:CC_PAL_MAX_LOG_LEVEL=3>
PUBLIC
CC_IOT
)