2019-04-06 21:08:09 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2018-06-19 01:57:23 +08:00
|
|
|
zephyr_library()
|
|
|
|
zephyr_library_compile_definitions_ifdef(
|
|
|
|
CONFIG_NEWLIB_LIBC __LINUX_ERRNO_EXTENSIONS__
|
|
|
|
)
|
|
|
|
|
2018-08-12 14:32:12 +08:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_NET_CONFIG_SETTINGS init.c)
|
2018-06-19 01:57:23 +08:00
|
|
|
|
2018-08-12 14:32:12 +08:00
|
|
|
if(CONFIG_NET_CONFIG_SETTINGS)
|
2018-06-19 01:57:23 +08:00
|
|
|
zephyr_library_sources_ifdef(
|
|
|
|
CONFIG_NET_L2_IEEE802154
|
|
|
|
ieee802154_settings.c
|
|
|
|
)
|
|
|
|
|
|
|
|
zephyr_library_sources_ifdef(
|
|
|
|
CONFIG_NET_L2_BT
|
|
|
|
bt_settings.c
|
|
|
|
)
|
|
|
|
endif()
|
2019-09-12 21:56:08 +08:00
|
|
|
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_NET_CONFIG_CLOCK_SNTP_INIT init_clock_sntp.c)
|