Skip to content

Commit

Permalink
Add zb data backup
Browse files Browse the repository at this point in the history
  • Loading branch information
rex authored and rex committed Jan 4, 2024
1 parent dd0d487 commit aa98e79
Show file tree
Hide file tree
Showing 5 changed files with 1,244 additions and 0 deletions.
16 changes: 16 additions & 0 deletions module/cpc/cpcd-system/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,27 @@ target_link_libraries(cpc-upgrade
pthread
)

add_executable(cpc-zbbackup
src/zbbackup/cpc-zbbackup.c
src/zbbackup/fsm.c
)

target_link_libraries(cpc-zbbackup
cpc
util
pthread
)


get_target_property(CPC_SOURCE_DIR cpc SOURCE_DIR)
target_include_directories(cpc-upgrade PRIVATE
${CPC_SOURCE_DIR}/lib
src/upgrade/include)

target_include_directories(cpc-zbbackup PRIVATE
${CPC_SOURCE_DIR}/lib
src/zbbackup/include)

install(TARGETS cpc-upgrade RUNTIME DESTINATION "bin" COMPONENT cpc-upgrade)

set(DEFAULT_CPC_HCI_BRIDGE_INSTALL_PATH /var/lib/cpc-upgrade)
Expand Down
Loading

0 comments on commit aa98e79

Please sign in to comment.