2019-04-06 21:08:09 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2017-10-27 21:43:34 +08:00
|
|
|
zephyr_library()
|
2024-10-16 18:01:44 +08:00
|
|
|
zephyr_library_property(ALLOW_EMPTY TRUE)
|
2017-10-27 21:43:34 +08:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_NET_HOSTNAME_ENABLE hostname.c)
|
|
|
|
|
|
|
|
if(CONFIG_NETWORKING)
|
2018-06-27 18:57:26 +08:00
|
|
|
add_subdirectory(l2)
|
2021-08-03 03:43:32 +08:00
|
|
|
add_subdirectory(pkt_filter)
|
2018-06-27 18:57:26 +08:00
|
|
|
|
2017-11-16 18:11:51 +08:00
|
|
|
if(CONFIG_NET_RAW_MODE)
|
2017-10-27 21:43:34 +08:00
|
|
|
zephyr_library_sources(ip/net_pkt.c)
|
|
|
|
else()
|
|
|
|
add_subdirectory(ip)
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
|
|
|
|
add_subdirectory(lib)
|
2023-08-11 02:41:23 +08:00
|
|
|
|
|
|
|
if(CONFIG_NET_CONNECTION_MANAGER)
|
|
|
|
add_subdirectory(conn_mgr)
|
|
|
|
endif()
|