Commit 7cc72955 authored by Dominik Ermel's avatar Dominik Ermel Committed by Fabio Baltieri
Browse files

mgmt/mcumgr: Move SMP transport to own sub-dir



The lib/transport directory has been moved up, directly under the
subsys/mgmt/mcumgr, and all transport files have been moved to
that directory.

Signed-off-by: default avatarDominik Ermel <dominik.ermel@nordicsemi.no>
parent b1bfb175
Loading
Loading
Loading
Loading
+2 −9
Original line number Diff line number Diff line
@@ -3,16 +3,9 @@
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_sources_ifdef(CONFIG_MCUMGR_SMP_DUMMY smp_dummy.c)

add_subdirectory(transport)
zephyr_library_sources_ifdef(CONFIG_MCUMGR_SMP_REASSEMBLY smp_reassembly.c)

add_subdirectory(lib)
zephyr_library_link_libraries(MCUMGR)

if (CONFIG_MCUMGR_SMP_SHELL OR CONFIG_MCUMGR_SMP_UART)
    zephyr_library_sources(serial_util.c)
endif()
+1 −1
Original line number Diff line number Diff line
@@ -109,7 +109,7 @@ endmenu

menu "Transports and Transport Related Configuration Options"

rsource "lib/transport/Kconfig"
rsource "transport/Kconfig"

endmenu

+11 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: Apache-2.0

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_sources_ifdef(CONFIG_MCUMGR_SMP_DUMMY smp_dummy.c)

if (CONFIG_MCUMGR_SMP_SHELL OR CONFIG_MCUMGR_SMP_UART)
    zephyr_library_sources(serial_util.c)
endif()
Loading