2019-04-06 21:08:09 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2018-01-18 10:02:30 +08:00
|
|
|
zephyr_library()
|
|
|
|
zephyr_library_sources(buf.c)
|
|
|
|
zephyr_library_sources(smp.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_MCUMGR_SMP_BT smp_bt.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_MCUMGR_SMP_SHELL smp_shell.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_MCUMGR_SMP_UART smp_uart.c)
|
2019-06-03 23:10:19 +08:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_MCUMGR_SMP_UDP smp_udp.c)
|
2018-01-18 10:02:30 +08:00
|
|
|
zephyr_library_link_libraries(MCUMGR)
|
|
|
|
|
|
|
|
if (CONFIG_MCUMGR_SMP_SHELL OR CONFIG_MCUMGR_SMP_UART)
|
|
|
|
zephyr_library_sources(serial_util.c)
|
|
|
|
endif ()
|