mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
pilotpi: fix upload cmake
This commit is contained in:
parent
8f8304f31e
commit
5ebe41efbf
@ -46,7 +46,7 @@ endif()
|
|||||||
add_custom_target(upload
|
add_custom_target(upload
|
||||||
COMMAND rsync -arh --progress
|
COMMAND rsync -arh --progress
|
||||||
${CMAKE_RUNTIME_OUTPUT_DIRECTORY} ${PX4_SOURCE_DIR}/posix-configs/rpi/pilotpi*.config ${PX4_BINARY_DIR}/etc # source
|
${CMAKE_RUNTIME_OUTPUT_DIRECTORY} ${PX4_SOURCE_DIR}/posix-configs/rpi/pilotpi*.config ${PX4_BINARY_DIR}/etc # source
|
||||||
\$\{AUTOPILOT_USER\}@\$\{AUTOPILOT_HOST\}:/home/\$\{AUTOPILOT_USER\}/px4 # destination
|
"${AUTOPILOT_USER}@${AUTOPILOT_HOST}:/home/${AUTOPILOT_USER}/px4" # destination
|
||||||
DEPENDS px4
|
DEPENDS px4
|
||||||
COMMENT "uploading px4"
|
COMMENT "uploading px4"
|
||||||
USES_TERMINAL
|
USES_TERMINAL
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user