1# SPDX-License-Identifier: Apache-2.0
2
3if(CONFIG_WIFI_ESWIFI)
4
5  zephyr_library_include_directories(
6  # IP headers
7  ${ZEPHYR_BASE}/subsys/net/ip
8  ${ZEPHYR_BASE}/subsys/net/lib/sockets
9  )
10
11  zephyr_library_sources(
12    eswifi_core.c
13    eswifi_offload.c
14    eswifi_socket.c
15    )
16
17  zephyr_library_sources_ifdef(CONFIG_WIFI_ESWIFI_BUS_SPI eswifi_bus_spi.c)
18  zephyr_library_sources_ifdef(CONFIG_WIFI_ESWIFI_BUS_UART eswifi_bus_uart.c)
19
20  zephyr_library_sources_ifdef(CONFIG_WIFI_ESWIFI_SHELL eswifi_shell.c)
21
22  zephyr_library_sources_ifdef(CONFIG_NET_SOCKETS_OFFLOAD eswifi_socket_offload.c)
23endif()
24