mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 19:07:45 +08:00
cmake: NuttX redirect libapps build stdout to log file
This commit is contained in:
@@ -274,7 +274,7 @@ add_custom_target(nuttx_builtin_list_target DEPENDS ${nuttx_builtin_list})
|
|||||||
# libapps.a
|
# libapps.a
|
||||||
add_custom_command(OUTPUT ${APPS_DIR}/libapps.a ${APPS_DIR}/platform/.built
|
add_custom_command(OUTPUT ${APPS_DIR}/libapps.a ${APPS_DIR}/platform/.built
|
||||||
COMMAND find ${APPS_DIR} -name \*.o -delete
|
COMMAND find ${APPS_DIR} -name \*.o -delete
|
||||||
COMMAND make ${nuttx_build_options} --no-print-directory TOPDIR="${NUTTX_DIR}"
|
COMMAND make ${nuttx_build_options} --no-print-directory TOPDIR="${NUTTX_DIR}" > nuttx_apps.log
|
||||||
DEPENDS
|
DEPENDS
|
||||||
nuttx_builtin_list_target ${nuttx_builtin_list}
|
nuttx_builtin_list_target ${nuttx_builtin_list}
|
||||||
nuttx_context ${NUTTX_DIR}/include/nuttx/config.h ${NUTTX_DIR}/include/nuttx/version.h
|
nuttx_context ${NUTTX_DIR}/include/nuttx/config.h ${NUTTX_DIR}/include/nuttx/version.h
|
||||||
|
|||||||
Reference in New Issue
Block a user