Skip to content

Commit f2a639c

Browse files
authored
Merge pull request #85 from microbuilder/tfm17_qcbor_fixes
lib: ext: Disable t_cose and qcbor if not required
2 parents 7426337 + d54f6b1 commit f2a639c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/ext/CMakeLists.txt

+4-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@
66
#-------------------------------------------------------------------------------
77
set(FETCHCONTENT_BASE_DIR ${CMAKE_BINARY_DIR}/lib/ext CACHE STRING "" FORCE)
88

9-
add_subdirectory(qcbor)
10-
add_subdirectory(t_cose)
9+
if(TFM_PARTITION_INITIAL_ATTESTATION)
10+
add_subdirectory(qcbor)
11+
add_subdirectory(t_cose)
12+
endif()
1113
add_subdirectory(mbedcrypto)
1214
add_subdirectory(CMSIS_5)
1315
if(BL2)

0 commit comments

Comments
 (0)