mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
Fixed extra dir.
This commit is contained in:
@@ -353,7 +353,7 @@ function(px4_nuttx_add_romfs)
|
|||||||
add_custom_command(OUTPUT romfs.o
|
add_custom_command(OUTPUT romfs.o
|
||||||
COMMAND cmake -E remove_directory ${romfs_temp_dir}
|
COMMAND cmake -E remove_directory ${romfs_temp_dir}
|
||||||
COMMAND cmake -E copy_directory ${romfs_src_dir} ${romfs_temp_dir}
|
COMMAND cmake -E copy_directory ${romfs_src_dir} ${romfs_temp_dir}
|
||||||
COMMAND cmake -E copy_directory ${extras_dir} ${romfs_temp_dir}
|
COMMAND cmake -E copy_directory ${extras_dir} ${romfs_temp_dir}/extras
|
||||||
COMMAND ${PYTHON_EXECUTABLE} ${romfs_autostart}
|
COMMAND ${PYTHON_EXECUTABLE} ${romfs_autostart}
|
||||||
-a ${romfs_temp_dir}/init.d
|
-a ${romfs_temp_dir}/init.d
|
||||||
-s ${romfs_temp_dir}/init.d/rc.autostart
|
-s ${romfs_temp_dir}/init.d/rc.autostart
|
||||||
@@ -361,7 +361,7 @@ function(px4_nuttx_add_romfs)
|
|||||||
--folder ${romfs_temp_dir}
|
--folder ${romfs_temp_dir}
|
||||||
COMMAND ${GENROMFS} -f ${CMAKE_CURRENT_BINARY_DIR}/romfs.bin
|
COMMAND ${GENROMFS} -f ${CMAKE_CURRENT_BINARY_DIR}/romfs.bin
|
||||||
-d ${romfs_temp_dir} -V "NSHInitVol"
|
-d ${romfs_temp_dir} -V "NSHInitVol"
|
||||||
COMMAND cmake -E remove_directory ${romfs_temp_dir}
|
#COMMAND cmake -E remove_directory ${romfs_temp_dir}
|
||||||
COMMAND ${PYTHON_EXECUTABLE} ${bin_to_obj}
|
COMMAND ${PYTHON_EXECUTABLE} ${bin_to_obj}
|
||||||
--ld ${LD} --c_flags ${CMAKE_C_FLAGS}
|
--ld ${LD} --c_flags ${CMAKE_C_FLAGS}
|
||||||
--c_compiler ${CMAKE_C_COMPILER}
|
--c_compiler ${CMAKE_C_COMPILER}
|
||||||
|
|||||||
Reference in New Issue
Block a user