Skip to content

Commit bd3870d

Browse files
mswarowskyVge0rge
authored andcommitted
[nrf fromlist] modules: tf-m: Rename crypto modules to ENABLED
The TF-M crypto modules got renames from CRYPTO_XXX_MODULE_DISABLED to CRYPTO_XXX_MODULE_ENABLED Therefore also re naming it in zephyr build integration. Upstream PR: zephyrproject-rtos/zephyr#68619 Signed-off-by: Markus Swarowsky <[email protected]>
1 parent a569161 commit bd3870d

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

modules/trusted-firmware-m/CMakeLists.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,11 +152,8 @@ if (CONFIG_BUILD_WITH_TFM)
152152
foreach(module ${TFM_CRYPTO_MODULES})
153153
if (CONFIG_TFM_${module}_ENABLED)
154154
# list(APPEND TFM_ENABLED_CRYPTO_MODULES_ARG ${module})
155-
set(val "FALSE")
156-
else()
157-
set(val "TRUE")
155+
list(APPEND TFM_CMAKE_ARGS -D${module}_ENABLED=True)
158156
endif()
159-
list(APPEND TFM_CMAKE_ARGS -D${module}_DISABLED=${val})
160157
endforeach()
161158

162159
set(TFM_BINARY_DIR ${CMAKE_BINARY_DIR}/tfm)

0 commit comments

Comments
 (0)