2019-04-06 21:08:09 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2017-10-27 21:43:34 +08:00
|
|
|
zephyr_library()
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_NET_BUF buf.c)
|
|
|
|
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)
|