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:
Daniel Agar
2020-01-05 14:03:57 -05:00
committed by GitHub
parent aaf5670e7d
commit 7241eebd80
22 changed files with 290 additions and 352 deletions

View File

@@ -298,8 +298,8 @@ px4_os_add_flags()
#=============================================================================
# board cmake init (optional)
#
if(EXISTS ${PX4_BOARD_DIR}/init.cmake)
include(${PX4_BOARD_DIR}/init.cmake)
if(EXISTS ${PX4_BOARD_DIR}/cmake/init.cmake)
include(${PX4_BOARD_DIR}/cmake/init.cmake)
endif()
#=============================================================================