1# SPDX-License-Identifier: Apache-2.0
2
3zephyr_library()
4zephyr_library_property(ALLOW_EMPTY TRUE)
5zephyr_library_sources_ifdef(CONFIG_NET_HOSTNAME_ENABLE hostname.c)
6
7if(CONFIG_NETWORKING)
8  add_subdirectory(l2)
9  add_subdirectory(pkt_filter)
10
11  if(CONFIG_NET_RAW_MODE)
12    zephyr_library_sources(ip/net_pkt.c)
13  else()
14    add_subdirectory(ip)
15  endif()
16endif()
17
18add_subdirectory(lib)
19
20if(CONFIG_NET_CONNECTION_MANAGER)
21  add_subdirectory(conn_mgr)
22endif()
23