2019-04-06 21:08:09 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2017-12-05 18:11:29 +08:00
|
|
|
zephyr_library()
|
2018-06-27 18:57:26 +08:00
|
|
|
zephyr_library_include_directories(. ${ZEPHYR_BASE}/subsys/net/ip)
|
2017-12-05 18:11:29 +08:00
|
|
|
zephyr_library_compile_definitions_ifdef(
|
|
|
|
CONFIG_NEWLIB_LIBC __LINUX_ERRNO_EXTENSIONS__
|
|
|
|
)
|
|
|
|
|
|
|
|
zephyr_library_sources(
|
|
|
|
ieee802154.c
|
|
|
|
ieee802154_frame.c
|
|
|
|
)
|
|
|
|
|
|
|
|
zephyr_library_sources_ifdef(
|
|
|
|
CONFIG_NET_L2_IEEE802154_FRAGMENT
|
|
|
|
ieee802154_fragment.c
|
|
|
|
)
|
|
|
|
|
|
|
|
zephyr_library_sources_ifdef(
|
|
|
|
CONFIG_NET_L2_IEEE802154_MGMT
|
|
|
|
ieee802154_mgmt.c
|
|
|
|
)
|
|
|
|
|
|
|
|
zephyr_library_sources_ifdef(
|
|
|
|
CONFIG_NET_L2_IEEE802154_RADIO_ALOHA
|
|
|
|
ieee802154_radio_aloha.c
|
|
|
|
)
|
|
|
|
|
|
|
|
zephyr_library_sources_ifdef(
|
|
|
|
CONFIG_NET_L2_IEEE802154_RADIO_CSMA_CA
|
|
|
|
ieee802154_radio_csma_ca.c
|
|
|
|
)
|
|
|
|
|
|
|
|
zephyr_library_sources_ifdef(
|
|
|
|
CONFIG_NET_L2_IEEE802154_SECURITY
|
|
|
|
ieee802154_security.c
|
|
|
|
)
|
|
|
|
|
|
|
|
zephyr_library_sources_ifdef(
|
|
|
|
CONFIG_NET_L2_IEEE802154_SHELL
|
|
|
|
ieee802154_shell.c
|
|
|
|
)
|