mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-28 07:43:34 +08:00
cmake: NuttX make shell script call explicit (#6996)
This commit is contained in:
committed by
Daniel Agar
parent
94ef3db407
commit
854511b14b
@@ -300,7 +300,7 @@ function(px4_nuttx_add_export)
|
|||||||
add_custom_command(OUTPUT ${nuttx_src}/nuttx/.config
|
add_custom_command(OUTPUT ${nuttx_src}/nuttx/.config
|
||||||
COMMAND ${CP} -rp ${PX4_SOURCE_DIR}/nuttx-configs/*.mk ${nuttx_src}/nuttx/
|
COMMAND ${CP} -rp ${PX4_SOURCE_DIR}/nuttx-configs/*.mk ${nuttx_src}/nuttx/
|
||||||
COMMAND ${CP} -rp ${PX4_SOURCE_DIR}/nuttx-configs/${CONFIG} ${nuttx_src}/nuttx/configs
|
COMMAND ${CP} -rp ${PX4_SOURCE_DIR}/nuttx-configs/${CONFIG} ${nuttx_src}/nuttx/configs
|
||||||
COMMAND cd ${nuttx_src}/nuttx/tools && ./configure.sh ${CONFIG}/${config_nuttx_config}
|
COMMAND cd ${nuttx_src}/nuttx/tools && sh configure.sh ${CONFIG}/${config_nuttx_config}
|
||||||
DEPENDS ${DEPENDS} nuttx_patch_${CONFIG} ${config_files}
|
DEPENDS ${DEPENDS} nuttx_patch_${CONFIG} ${config_files}
|
||||||
WORKING_DIRECTORY ${PX4_BINARY_DIR}
|
WORKING_DIRECTORY ${PX4_BINARY_DIR}
|
||||||
COMMENT "Configuring NuttX for ${CONFIG} with ${config_nuttx_config}")
|
COMMENT "Configuring NuttX for ${CONFIG} with ${config_nuttx_config}")
|
||||||
|
|||||||
Reference in New Issue
Block a user