mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
cmake merge linux cross compile targets (cross + native) and cleanup
- consolidate cross and native variants (only a single default is needed) - beaglebone_blue_cross + beaglebone_blue_native => beaglebone_blue_default - emlid_navio2_cross + emlid_navio2_native => emlid_navio2_default - px4_raspberrypi_cross + px4_raspberrypi_native => px4_raspberrypi_default - move upload helpers to cmake/upload.cmake
This commit is contained in:
@@ -34,15 +34,3 @@
|
||||
add_subdirectory(navio_adc)
|
||||
add_subdirectory(navio_rgbled)
|
||||
add_subdirectory(navio_sysfs_rc_in)
|
||||
|
||||
|
||||
############################################################################
|
||||
# Upload
|
||||
############################################################################
|
||||
|
||||
add_custom_target(upload
|
||||
COMMAND rsync -arh --progress ${CMAKE_RUNTIME_OUTPUT_DIRECTORY} ${PX4_SOURCE_DIR}/posix-configs/rpi/*.config ${PX4_SOURCE_DIR}/ROMFS pi@"$ENV{AUTOPILOT_HOST}":/home/pi
|
||||
DEPENDS px4
|
||||
COMMENT "uploading px4"
|
||||
USES_TERMINAL
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user