cmake: NuttX redirect libapps build stdout to log file

This commit is contained in:
Daniel Agar
2020-10-29 10:50:51 -04:00
parent b13422dd80
commit 216a0eb3a0

View File

@@ -274,7 +274,7 @@ add_custom_target(nuttx_builtin_list_target DEPENDS ${nuttx_builtin_list})
# libapps.a
add_custom_command(OUTPUT ${APPS_DIR}/libapps.a ${APPS_DIR}/platform/.built
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
nuttx_builtin_list_target ${nuttx_builtin_list}
nuttx_context ${NUTTX_DIR}/include/nuttx/config.h ${NUTTX_DIR}/include/nuttx/version.h