1# 2# Copyright (c) 2024 Nordic Semiconductor ASA 3# 4# SPDX-License-Identifier: Apache-2.0 5# 6 7zephyr_library_named(wifi_credentials) 8zephyr_library_sources(wifi_credentials.c) 9 10if (CONFIG_WIFI_CREDENTIALS_BACKEND_PSA) 11zephyr_library_include_directories( 12 $<TARGET_PROPERTY:tfm,TFM_BINARY_DIR>/api_ns/interface/include 13) 14endif() 15 16zephyr_library_sources_ifdef( 17 CONFIG_WIFI_CREDENTIALS_BACKEND_SETTINGS 18 wifi_credentials_backend_settings.c) 19 20zephyr_library_sources_ifdef( 21 CONFIG_WIFI_CREDENTIALS_BACKEND_PSA 22 wifi_credentials_backend_psa.c) 23 24zephyr_library_sources_ifdef( 25 CONFIG_WIFI_CREDENTIALS_BACKEND_NONE 26 wifi_credentials_backend_none.c) 27 28zephyr_library_sources_ifdef( 29 CONFIG_WIFI_CREDENTIALS_SHELL 30 wifi_credentials_shell.c) 31 32if(WIFI_CREDENTIALS_STATIC_SSID) 33 message(WARNING 34 "Static Wi-Fi configuration is used, please remove before deployment!" 35 ) 36endif() 37