Skip to content

Commit 7428f3b

Browse files
AntonZmanordicjm
authored andcommitted
modules: tfm: Fix formatting for CMakeLists
Unnecessary spaces removed. Signed-off-by: Anton Zyma <[email protected]>
1 parent 321b685 commit 7428f3b

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

modules/trusted-firmware-m/tfm_boards/CMakeLists.txt

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ target_link_libraries(platform_s
5454
tfm_sprt
5555
)
5656

57-
if (NOT ${PLATFORM_DEFAULT_PROVISIONING})
57+
if(NOT ${PLATFORM_DEFAULT_PROVISIONING})
5858
if(NRF_PROVISIONING)
5959
target_compile_definitions(platform_s PUBLIC NRF_PROVISIONING)
6060
set(provisioning_source nrf_provisioning.c)
@@ -73,7 +73,7 @@ target_sources(tfm_sprt
7373
$<$<NOT:$<BOOL:${TFM_SP_LOG_RAW_ENABLED}>>:${CMAKE_CURRENT_SOURCE_DIR}/common/dummy_tfm_sp_log_raw.c>
7474
)
7575

76-
if (${TFM_PARTITION_CRYPTO})
76+
if(${TFM_PARTITION_CRYPTO})
7777
if(CRYPTO_TFM_BUILTIN_KEYS_DRIVER)
7878
target_sources(platform_crypto_keys
7979
PRIVATE
@@ -82,7 +82,7 @@ if (${TFM_PARTITION_CRYPTO})
8282
endif()
8383

8484

85-
if (${CONFIG_HW_UNIQUE_KEY})
85+
if(${CONFIG_HW_UNIQUE_KEY})
8686
target_compile_definitions(platform_s PUBLIC
8787
CONFIG_HW_UNIQUE_KEY
8888
$<$<BOOL:${CONFIG_HW_UNIQUE_KEY_RANDOM}>:CONFIG_HW_UNIQUE_KEY_RANDOM>
@@ -132,11 +132,11 @@ if (${TFM_PARTITION_CRYPTO})
132132
target_link_libraries(platform_s PRIVATE tfm_psa_rot_partition_crypto)
133133
endif()
134134

135-
if (NRF_ALLOW_NON_SECURE_RESET)
135+
if(NRF_ALLOW_NON_SECURE_RESET)
136136
target_compile_definitions(platform_s PUBLIC NRF_ALLOW_NON_SECURE_RESET)
137137
endif()
138138

139-
if (NRF_ALLOW_NON_SECURE_FAULT_HANDLING)
139+
if(NRF_ALLOW_NON_SECURE_FAULT_HANDLING)
140140
target_compile_definitions(platform_s PUBLIC NRF_ALLOW_NON_SECURE_FAULT_HANDLING)
141141
target_sources(platform_s
142142
PRIVATE
@@ -148,23 +148,23 @@ if(NRF_CONFIG_NFCT_PINS_AS_GPIOS)
148148
target_compile_definitions(platform_s PUBLIC NRF_CONFIG_NFCT_PINS_AS_GPIOS)
149149
endif()
150150

151-
if (TFM_CPU_FREQ_MHZ)
151+
if(TFM_CPU_FREQ_MHZ)
152152
target_compile_definitions(platform_s PUBLIC NRF_CONFIG_CPU_FREQ_MHZ=${TFM_CPU_FREQ_MHZ})
153153
endif()
154154

155-
if (CONFIG_NRF_TRACE_PORT)
155+
if(CONFIG_NRF_TRACE_PORT)
156156
target_compile_definitions(platform_s PUBLIC ENABLE_TRACE)
157157
endif()
158158

159-
if (CONFIG_NRF_APPROTECT_LOCK)
159+
if(CONFIG_NRF_APPROTECT_LOCK)
160160
target_compile_definitions(platform_s PUBLIC NRF_APPROTECT)
161161
endif()
162162

163-
if (CONFIG_NRF_SECURE_APPROTECT_LOCK)
163+
if(CONFIG_NRF_SECURE_APPROTECT_LOCK)
164164
target_compile_definitions(platform_s PUBLIC NRF_SECURE_APPROTECT)
165165
endif()
166166

167-
if (CRYPTO_STORAGE_DISABLED AND TFM_PARTITION_CRYPTO AND NOT TFM_PARTITION_INTERNAL_TRUSTED_STORAGE)
167+
if(CRYPTO_STORAGE_DISABLED AND TFM_PARTITION_CRYPTO AND NOT TFM_PARTITION_INTERNAL_TRUSTED_STORAGE)
168168
# Added here to satisfy the following requirement from tfm_crypto.yaml:
169169
#
170170
# "dependencies": [

0 commit comments

Comments
 (0)