mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
cmake NuttX build fix path to git dir
- this relative path was incorrect for the px4io when using the Makefile generator and built for inclusion within another build (eg px4_fmu-v5_default)
This commit is contained in:
@@ -68,7 +68,7 @@ list(REMOVE_ITEM copy_nuttx_files ${NUTTX_SRC_DIR}/nuttx/.git)
|
||||
add_custom_command(
|
||||
OUTPUT ${PX4_BINARY_DIR}/NuttX/nuttx_copy.stamp
|
||||
COMMAND ${NUTTX_COPY_CMD} ${NUTTX_COPY_CMD_OPTS} ${CP_SRC} ${CP_DST}
|
||||
COMMAND echo "gitdir: ${nuttx_git_dir}" > ${CP_DST}/nuttx/.git
|
||||
COMMAND echo "gitdir: ${nuttx_git_dir}" > ${PX4_BINARY_DIR}/NuttX/nuttx/.git
|
||||
COMMAND ${CMAKE_COMMAND} -E touch ${PX4_BINARY_DIR}/NuttX/nuttx_copy.stamp
|
||||
DEPENDS
|
||||
git_nuttx
|
||||
|
||||
Reference in New Issue
Block a user