px4-alias.sh_in: move to platforms/posix/src/px4-alias.sh_in

This commit is contained in:
Beat Küng 2018-08-08 08:04:12 +02:00 committed by Lorenz Meier
parent 0edf4513eb
commit ffffcaeb0f
3 changed files with 9 additions and 8 deletions

View File

@ -110,6 +110,14 @@ elseif ("${BOARD}" STREQUAL "sitl")
endif()
# Module Symlinks
px4_posix_generate_symlinks(
MODULE_LIST ${module_libraries}
PREFIX ${PX4_BASH_PREFIX}
TARGET px4
)
#=============================================================================
# install
#
@ -185,10 +193,3 @@ install(
)
# symlinks
px4_posix_generate_symlinks(
MODULE_LIST ${module_libraries}
PREFIX ${PX4_BASH_PREFIX}
TARGET px4
)

View File

@ -150,7 +150,7 @@ function(px4_posix_generate_alias)
)
endif()
endforeach()
configure_file(${PX4_SOURCE_DIR}/cmake/posix/px4-alias.sh_in
configure_file(${PX4_SOURCE_DIR}/platforms/posix/src/px4-alias.sh_in
${OUT}
)
endfunction()