cmake: nuttx fix jlink-nuttx dependency

This commit is contained in:
Daniel Agar 2023-01-24 20:04:46 -05:00
parent d3b7112dd9
commit 0bdec5bcc0
1 changed files with 1 additions and 1 deletions

View File

@ -462,7 +462,7 @@ if(NOT NUTTX_DIR MATCHES "external")
add_custom_command(
OUTPUT ${NUTTX_DIR}/tools/jlink-nuttx.so
COMMAND make --no-print-directory --silent -f Makefile.host jlink-nuttx
DEPENDS ${NUTTX_DIR}/tools/gencromfs.c
DEPENDS ${NUTTX_DIR}/tools/jlink-nuttx.c
WORKING_DIRECTORY ${NUTTX_DIR}/tools
)
add_custom_target(jlink-nuttx ALL