Fixed parameter generation dependencies.

This commit is contained in:
James Goppert
2015-09-13 18:30:32 -04:00
parent 97802999e8
commit 19c84126a4
5 changed files with 38 additions and 18 deletions
+3 -3
View File
@@ -8,10 +8,10 @@ px4_nuttx_generate_builtin_commands(
px4_nuttx_generate_romfs(OUT romfs.o
ROOT ROMFS/px4fmu_common)
px4_generate_parameters()
# add executable
add_executable(firmware_nuttx builtin_commands.c ${CMAKE_BINARY_DIR}/px4_parameters.c romfs.o)
add_executable(firmware_nuttx
builtin_commands.c
romfs.o)
set(nuttx_export_dir ${CMAKE_BINARY_DIR}/${BOARD}/NuttX/nuttx-export)
set(main_link_flags
"-T${nuttx_export_dir}/build/ld.script"