Browse Source

Fixed extra dir.

sbg
James Goppert 10 years ago
parent
commit
bd33d546e3
  1. 4
      cmake/nuttx/px4_impl_nuttx.cmake

4
cmake/nuttx/px4_impl_nuttx.cmake

@ -353,7 +353,7 @@ function(px4_nuttx_add_romfs) @@ -353,7 +353,7 @@ function(px4_nuttx_add_romfs)
add_custom_command(OUTPUT romfs.o
COMMAND cmake -E remove_directory ${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}
-a ${romfs_temp_dir}/init.d
-s ${romfs_temp_dir}/init.d/rc.autostart
@ -361,7 +361,7 @@ function(px4_nuttx_add_romfs) @@ -361,7 +361,7 @@ function(px4_nuttx_add_romfs)
--folder ${romfs_temp_dir}
COMMAND ${GENROMFS} -f ${CMAKE_CURRENT_BINARY_DIR}/romfs.bin
-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}
--ld ${LD} --c_flags ${CMAKE_C_FLAGS}
--c_compiler ${CMAKE_C_COMPILER}

Loading…
Cancel
Save