File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1717# interface to secure domain using IPC.
1818# ISOLATION_LEVEL: The TF-M isolation level to use
1919# REGRESSION: Boolean if TF-M build includes building the TF-M regression tests
20- # BL2: Boolean if the TF-M build uses MCUboot.
20+ # BL2: Boolean if the TF-M build uses MCUboot. Default: True
2121#
2222# Example usage:
2323#
@@ -34,9 +34,10 @@ function(trusted_firmware_build)
3434 set (oneValueArgs BINARY_DIR BOARD BL2 ISOLATION_LEVEL CMAKE_BUILD_TYPE BUILD_PROFILE)
3535 cmake_parse_arguments (TFM "${options} " "${oneValueArgs} " "" ${ARGN} )
3636
37- if (DEFINED TFM_BL2)
38- set (TFM_BL2_ARG "-DBL2= ${ TFM_BL2} " )
37+ if (NOT DEFINED TFM_BL2)
38+ set (TFM_BL2 True )
3939 endif ()
40+ set (TFM_BL2_ARG "-DBL2=${TFM_BL2} " )
4041
4142 if (DEFINED TFM_IPC)
4243 set (TFM_IPC_ARG -DTFM_PSA_API=ON )
You can’t perform that action at this time.
0 commit comments