From 216a0eb3a0da25db8f8c4f51af7bfc33510eb5c9 Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Thu, 29 Oct 2020 10:50:51 -0400 Subject: [PATCH] cmake: NuttX redirect libapps build stdout to log file --- platforms/nuttx/NuttX/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platforms/nuttx/NuttX/CMakeLists.txt b/platforms/nuttx/NuttX/CMakeLists.txt index 5d52105633..9dc91ad1a5 100644 --- a/platforms/nuttx/NuttX/CMakeLists.txt +++ b/platforms/nuttx/NuttX/CMakeLists.txt @@ -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