From 25182108f9261b12ef98f752ee06f19387fc1e17 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Sat, 27 Aug 2016 12:56:31 +0200 Subject: [PATCH] Ensure NuttX build depends on defconfig --- cmake/nuttx/px4_impl_nuttx.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/nuttx/px4_impl_nuttx.cmake b/cmake/nuttx/px4_impl_nuttx.cmake index 9a54b6277e..32983d648f 100644 --- a/cmake/nuttx/px4_impl_nuttx.cmake +++ b/cmake/nuttx/px4_impl_nuttx.cmake @@ -226,7 +226,7 @@ function(px4_nuttx_add_export) #COMMAND ${ECHO} Exporting NuttX for ${CONFIG} COMMAND ${MAKE} --no-print-directory --quiet -C ${nuttx_src}/nuttx -j${THREADS} -r CONFIG_ARCH_BOARD=${CONFIG} export > nuttx_build.log COMMAND ${CP} -r ${nuttx_src}/nuttx/nuttx-export.zip ${PX4_BINARY_DIR}/${CONFIG}.export - DEPENDS ${config_files} ${DEPENDS} + DEPENDS ${config_files} "${PX4_SOURCE_DIR}/nuttx-configs/${CONFIG}/nsh/defconfig" ${DEPENDS} WORKING_DIRECTORY ${PX4_BINARY_DIR} COMMENT "Building NuttX for ${CONFIG}")