zephyr/subsys/net/CMakeLists.txt
Georges Oates_Larsen 716c19f7ef net: conn_mgr: Reorganize files
Since conn_mgr is a subsystem rather than a library, relocate it
directly into subsys/net rather than subsys/net/lib/

Rename header files to better match their function.

Remove net_ prefix from conn_mgr types, API, and files, since it is
unnecessary.

Signed-off-by: Georges Oates_Larsen <georges.larsen@nordicsemi.no>
2023-05-11 12:15:44 +02:00

24 lines
481 B
CMake

# SPDX-License-Identifier: Apache-2.0
zephyr_library()
zephyr_library_sources_ifdef(
CONFIG_NET_BUF
buf.c
buf_simple.c
)
zephyr_library_sources_ifdef(CONFIG_NET_HOSTNAME_ENABLE hostname.c)
if(CONFIG_NETWORKING)
add_subdirectory(l2)
add_subdirectory(pkt_filter)
if(CONFIG_NET_RAW_MODE)
zephyr_library_sources(ip/net_pkt.c)
else()
add_subdirectory(ip)
endif()
endif()
add_subdirectory(lib)
add_subdirectory_ifdef(CONFIG_NET_CONNECTION_MANAGER conn_mgr)