mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
Fix Bootloader install files issue.
This commit is contained in:
committed by
Lorenz Meier
parent
a0fff97fd2
commit
1877df7917
@@ -380,10 +380,13 @@ px4_generate_parameters_xml(OUT parameters.xml
|
||||
px4_generate_airframes_xml(OUT airframes.xml BOARD ${BOARD})
|
||||
add_custom_target(xml_gen
|
||||
DEPENDS parameters.xml airframes.xml)
|
||||
|
||||
if(NOT "${config_nuttx_config}" STREQUAL "bootloader")
|
||||
install(FILES
|
||||
${CMAKE_CURRENT_BINARY_DIR}/airframes.xml
|
||||
${CMAKE_CURRENT_BINARY_DIR}/parameters.xml
|
||||
DESTINATION .)
|
||||
endif()
|
||||
|
||||
#=============================================================================
|
||||
# external projects
|
||||
|
||||
Reference in New Issue
Block a user