src/platforms: move remaining source files to platforms/common

This commit is contained in:
Beat Küng
2019-08-27 11:17:13 +02:00
parent f8e0441e7b
commit f32abe8534
8 changed files with 7 additions and 7 deletions

View File

@@ -36,7 +36,7 @@ include(cygwin_cygpath)
set(NUTTX_DIR ${PX4_BINARY_DIR}/NuttX/nuttx)
set(NUTTX_APPS_DIR ${PX4_BINARY_DIR}/NuttX/apps)
add_executable(px4 ${PX4_SOURCE_DIR}/src/platforms/empty.c)
add_executable(px4 ${PX4_SOURCE_DIR}/platforms/common/empty.c)
set(FW_NAME ${PX4_BOARD_VENDOR}_${PX4_BOARD_MODEL}_${PX4_BOARD_LABEL}.elf)
set_target_properties(px4 PROPERTIES OUTPUT_NAME ${FW_NAME})
add_dependencies(px4 git_nuttx nuttx_build)