2019-04-06 21:08:09 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2018-01-15 18:42:28 +08:00
|
|
|
zephyr_library_named(subsys__net__ip__l2__openthread)
|
2018-06-27 18:57:26 +08:00
|
|
|
zephyr_library_include_directories(. ../../lib/openthread/platform
|
|
|
|
${ZEPHYR_BASE}/subsys/net/ip)
|
2018-01-15 18:42:28 +08:00
|
|
|
zephyr_library_compile_definitions_ifdef(
|
|
|
|
CONFIG_NEWLIB_LIBC __LINUX_ERRNO_EXTENSIONS__
|
|
|
|
)
|
|
|
|
|
|
|
|
zephyr_library_sources(
|
|
|
|
openthread.c
|
|
|
|
openthread_utils.c
|
|
|
|
)
|
|
|
|
|
|
|
|
add_dependencies(subsys__net__ip__l2__openthread
|
|
|
|
ot
|
|
|
|
)
|