Skip to content

Commit 9dbe619

Browse files
committed
Revert "[nrf noup] modules: mbedtls: Use psa_util.c only with non-nRF"
This reverts commit 5bb619d.
1 parent 8092e34 commit 9dbe619

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

modules/mbedtls/CMakeLists.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ zephyr_interface_library_named(mbedTLS)
8181
${ZEPHYR_CURRENT_MODULE_DIR}/library/platform_util.c
8282
${ZEPHYR_CURRENT_MODULE_DIR}/library/platform.c
8383
${ZEPHYR_CURRENT_MODULE_DIR}/library/poly1305.c
84+
${ZEPHYR_CURRENT_MODULE_DIR}/library/psa_util.c
8485
${ZEPHYR_CURRENT_MODULE_DIR}/library/ripemd160.c
8586
${ZEPHYR_CURRENT_MODULE_DIR}/library/rsa_alt_helpers.c
8687
${ZEPHYR_CURRENT_MODULE_DIR}/library/rsa.c
@@ -94,10 +95,6 @@ zephyr_interface_library_named(mbedTLS)
9495
zephyr_init.c
9596
)
9697

97-
if (NOT DEFINED ZEPHYR_NRF_MODULE_DIR)
98-
list(APPEND mbedtls_base_src ${ZEPHYR_CURRENT_MODULE_DIR}/library/psa_util.c)
99-
endif()
100-
10198
zephyr_library_sources(${mbedtls_base_src})
10299

103100
zephyr_library_sources_ifdef(CONFIG_MBEDTLS_DEBUG debug.c)

0 commit comments

Comments
 (0)