mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-30 10:44:06 +08:00
cmake: NuttX make shell script call explicit (#6996)
This commit is contained in:
parent
94ef3db407
commit
854511b14b
@ -300,7 +300,7 @@ function(px4_nuttx_add_export)
|
||||
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/${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}
|
||||
WORKING_DIRECTORY ${PX4_BINARY_DIR}
|
||||
COMMENT "Configuring NuttX for ${CONFIG} with ${config_nuttx_config}")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user