Skip to content

Commit

Permalink
add-ons: troubleshhot: moving add-on and related apis, rework archite…
Browse files Browse the repository at this point in the history
…cture to add file transfer
  • Loading branch information
joelguittet committed Aug 17, 2024
1 parent d88f957 commit 4d5942e
Show file tree
Hide file tree
Showing 25 changed files with 5,174 additions and 1,895 deletions.
12 changes: 11 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,14 @@ if (CONFIG_MENDER_CLIENT_ADD_ON_INVENTORY)
endif()
if (CONFIG_MENDER_CLIENT_ADD_ON_TROUBLESHOOT)
list(APPEND SOURCES_TEMP
"${CMAKE_CURRENT_LIST_DIR}/add-ons/src/mender-troubleshoot.c"
"${CMAKE_CURRENT_LIST_DIR}/add-ons/troubleshoot/src/mender-troubleshoot.c"
"${CMAKE_CURRENT_LIST_DIR}/add-ons/troubleshoot/src/mender-troubleshoot-api.c"
"${CMAKE_CURRENT_LIST_DIR}/add-ons/troubleshoot/src/mender-troubleshoot-control.c"
"${CMAKE_CURRENT_LIST_DIR}/add-ons/troubleshoot/src/mender-troubleshoot-file-transfer.c"
"${CMAKE_CURRENT_LIST_DIR}/add-ons/troubleshoot/src/mender-troubleshoot-mender-client.c"
"${CMAKE_CURRENT_LIST_DIR}/add-ons/troubleshoot/src/mender-troubleshoot-msgpack.c"
"${CMAKE_CURRENT_LIST_DIR}/add-ons/troubleshoot/src/mender-troubleshoot-protomsg.c"
"${CMAKE_CURRENT_LIST_DIR}/add-ons/troubleshoot/src/mender-troubleshoot-shell.c"
"${CMAKE_CURRENT_LIST_DIR}/platform/net/${CONFIG_MENDER_PLATFORM_NET_TYPE}/src/mender-websocket.c"
)
endif()
Expand All @@ -219,6 +226,9 @@ endif()
if (CONFIG_MENDER_CLIENT_ADD_ON_INVENTORY)
target_include_directories(mender-mcu-client PUBLIC "${CMAKE_CURRENT_LIST_DIR}/add-ons/inventory/include")
endif()
if (CONFIG_MENDER_CLIENT_ADD_ON_TROUBLESHOOT)
target_include_directories(mender-mcu-client PUBLIC "${CMAKE_CURRENT_LIST_DIR}/add-ons/troubleshoot/include")
endif()

# Define version
file(STRINGS "${CMAKE_CURRENT_LIST_DIR}/VERSION" MENDER_CLIENT_VERSION)
Expand Down
Loading

0 comments on commit 4d5942e

Please sign in to comment.