mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-19 14:55:24 +00:00
In order to be able to add more entries under 'subsys/mgmt', move the current contents of it, which relate exclusively to MCUMgr, to its own folder. Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
15 lines
513 B
CMake
15 lines
513 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
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)
|
|
zephyr_library_sources_ifdef(CONFIG_MCUMGR_SMP_UDP smp_udp.c)
|
|
zephyr_library_link_libraries(MCUMGR)
|
|
|
|
if (CONFIG_MCUMGR_SMP_SHELL OR CONFIG_MCUMGR_SMP_UART)
|
|
zephyr_library_sources(serial_util.c)
|
|
endif ()
|