Skip to content

Commit 2518210

Browse files
committed
Ensure NuttX build depends on defconfig
1 parent 5ef6d79 commit 2518210

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/nuttx/px4_impl_nuttx.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ function(px4_nuttx_add_export)
226226
#COMMAND ${ECHO} Exporting NuttX for ${CONFIG}
227227
COMMAND ${MAKE} --no-print-directory --quiet -C ${nuttx_src}/nuttx -j${THREADS} -r CONFIG_ARCH_BOARD=${CONFIG} export > nuttx_build.log
228228
COMMAND ${CP} -r ${nuttx_src}/nuttx/nuttx-export.zip ${PX4_BINARY_DIR}/${CONFIG}.export
229-
DEPENDS ${config_files} ${DEPENDS}
229+
DEPENDS ${config_files} "${PX4_SOURCE_DIR}/nuttx-configs/${CONFIG}/nsh/defconfig" ${DEPENDS}
230230
WORKING_DIRECTORY ${PX4_BINARY_DIR}
231231
COMMENT "Building NuttX for ${CONFIG}")
232232

0 commit comments

Comments
 (0)