mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 04:13:33 +08:00
cmake: allow extra nuttx config options via PX4_EXTRA_NUTTX_CONFIG env var
This commit is contained in:
@@ -77,6 +77,10 @@ execute_process(
|
||||
OUTPUT_FILE ${CMAKE_CURRENT_BINARY_DIR}/nuttx_olddefconfig.log
|
||||
RESULT_VARIABLE ret
|
||||
)
|
||||
execute_process(
|
||||
COMMAND ${CMAKE_COMMAND} -E touch ${CMAKE_CURRENT_BINARY_DIR}/defconfig_inflate_stamp
|
||||
WORKING_DIRECTORY ${NUTTX_DIR}
|
||||
)
|
||||
execute_process(COMMAND ${CMAKE_COMMAND} -E copy_if_different ${NUTTX_DIR}/.config ${PX4_BINARY_DIR}/NuttX/nuttx/.config)
|
||||
|
||||
###############################################################################
|
||||
|
||||
Reference in New Issue
Block a user