diff --git a/drivers/crypto/CMakeLists.txt b/drivers/crypto/CMakeLists.txt index d831cf7adc2..7a4e922c2f2 100644 --- a/drivers/crypto/CMakeLists.txt +++ b/drivers/crypto/CMakeLists.txt @@ -1,6 +1,5 @@ # SPDX-License-Identifier: Apache-2.0 -zephyr_link_interface_ifdef(CONFIG_MBEDTLS mbedTLS) zephyr_library() zephyr_library_sources_ifdef(CONFIG_CRYPTO_TINYCRYPT_SHIM crypto_tc_shim.c) zephyr_library_sources_ifdef(CONFIG_CRYPTO_ATAES132A crypto_ataes132a.c) diff --git a/subsys/jwt/CMakeLists.txt b/subsys/jwt/CMakeLists.txt index 3a96d8d9140..ef59560a5e5 100644 --- a/subsys/jwt/CMakeLists.txt +++ b/subsys/jwt/CMakeLists.txt @@ -1,6 +1,5 @@ # SPDX-License-Identifier: Apache-2.0 -zephyr_link_interface_ifdef(CONFIG_MBEDTLS mbedTLS) zephyr_library() zephyr_library_sources(jwt.c) zephyr_library_link_libraries_ifdef(CONFIG_MBEDTLS mbedTLS) diff --git a/subsys/net/ip/CMakeLists.txt b/subsys/net/ip/CMakeLists.txt index bddef438014..4d58a4aee93 100644 --- a/subsys/net/ip/CMakeLists.txt +++ b/subsys/net/ip/CMakeLists.txt @@ -35,6 +35,5 @@ zephyr_library_sources_ifdef(CONFIG_NET_PROMISCUOUS_MODE promiscuous.c) if(CONFIG_NET_SHELL) zephyr_library_include_directories(. ${ZEPHYR_BASE}/subsys/net/l2) -zephyr_link_interface_ifdef(CONFIG_MBEDTLS mbedTLS) zephyr_library_link_libraries_ifdef(CONFIG_MBEDTLS mbedTLS) endif() diff --git a/subsys/net/lib/lwm2m/CMakeLists.txt b/subsys/net/lib/lwm2m/CMakeLists.txt index 4c71869045d..e9ae45f74e3 100644 --- a/subsys/net/lib/lwm2m/CMakeLists.txt +++ b/subsys/net/lib/lwm2m/CMakeLists.txt @@ -1,6 +1,5 @@ # SPDX-License-Identifier: Apache-2.0 -zephyr_link_interface_ifdef(CONFIG_MBEDTLS mbedTLS) zephyr_library() zephyr_include_directories(.) diff --git a/subsys/net/lib/sockets/CMakeLists.txt b/subsys/net/lib/sockets/CMakeLists.txt index 5d4b7de67f7..d867e0e81e3 100644 --- a/subsys/net/lib/sockets/CMakeLists.txt +++ b/subsys/net/lib/sockets/CMakeLists.txt @@ -16,5 +16,4 @@ zephyr_sources_ifdef(CONFIG_NET_SOCKETS_CAN sockets_can.c) endif() zephyr_sources_ifdef(CONFIG_NET_SOCKETS_OFFLOAD socket_offload.c) -zephyr_link_interface_ifdef(CONFIG_MBEDTLS mbedTLS) zephyr_link_libraries_ifdef(CONFIG_MBEDTLS mbedTLS)