px4_add_board:Add Optional LINKER_PREFIX

This commit is contained in:
David Sidrane
2020-02-26 13:46:30 -08:00
committed by David Sidrane
parent 3ed643f3d7
commit e12bce3a20
2 changed files with 13 additions and 0 deletions

View File

@@ -60,6 +60,10 @@ if("${PX4_BOARD_LABEL}" STREQUAL "bootloader")
bootloader_lib
drivers_board
)
else()
if(NOT "${PX4_BOARD_LINKER_PREFIX}" STREQUAL "")
set(SCRIPT_PREFIX ${PX4_BOARD_LINKER_PREFIX}-)
endif()
endif()
list(APPEND nuttx_libs