Skip to content

Commit

Permalink
Fix missing incdir tool error which came with latest NuttX
Browse files Browse the repository at this point in the history
Signed-off-by: Jukka Laitinen <[email protected]>
  • Loading branch information
jlaitine committed Sep 26, 2024
1 parent 83afced commit 3d79b88
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions platforms/nuttx/cmake/init.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@ set(NUTTX_SRC_DIR ${PX4_SOURCE_DIR}/platforms/nuttx/NuttX)
set(NUTTX_DIR ${PX4_SOURCE_DIR}/platforms/nuttx/NuttX/nuttx CACHE FILEPATH "NuttX directory" FORCE)
set(NUTTX_APPS_DIR ${PX4_SOURCE_DIR}/platforms/nuttx/NuttX/apps CACHE FILEPATH "NuttX apps directory" FORCE)

execute_process(
COMMAND make --no-print-directory --silent tools/incdir
WORKING_DIRECTORY ${NUTTX_DIR}
)

px4_add_git_submodule(TARGET git_nuttx PATH "${NUTTX_SRC_DIR}/nuttx")
px4_add_git_submodule(TARGET git_nuttx_apps PATH "${NUTTX_SRC_DIR}/apps")

Expand Down

0 comments on commit 3d79b88

Please sign in to comment.