aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-05-24 18:43:43 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-05-24 18:43:43 +0200
commitde8b71d64d660db06cd7ac60bc8ad7d28cbc6ada (patch)
treef9a58fa90c8ca283dbf1806895398b223cb87f67
parent1ab0ddf219ec8c523db844ae85bc2d52ffbe7089 (diff)
Fix: rsync / on target.
Populate target with the correct path. Change-Id: I25df58cbc14ca2e0d20450a6be97c635f9c2a4b3 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
-rw-r--r--cmake/common.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/common.cmake b/cmake/common.cmake
index fadba0e..a78d246 100644
--- a/cmake/common.cmake
+++ b/cmake/common.cmake
@@ -168,7 +168,7 @@ macro(remote_targets_populate)
add_custom_target(remote-target-populate
DEPENDS populate
COMMAND chmod +x ${CMAKE_CURRENT_BINARY_DIR}/target/start-on-${RSYNC_TARGET}.sh
- COMMAND rsync --archive --delete ${PROJECT_PKG_DIR}/ ${RSYNC_TARGET}:${RSYNC_PREFIX}/${PROJECT_NAME}
+ COMMAND rsync --archive --delete ${PROJECT_PKG_BUILD_DIR}/ ${RSYNC_TARGET}:${RSYNC_PREFIX}/${PROJECT_NAME}
COMMENT "${REMOTE_LAUNCH}"
)
endif()