forked from Archive/PX4-Autopilot
Clean up location of nuttx specific template
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
parent
29520dc5b1
commit
c16c6a00e3
|
@ -111,6 +111,7 @@ set(package-contact "px4users@googlegroups.com")
|
||||||
|
|
||||||
# set module path
|
# set module path
|
||||||
list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
|
list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
|
||||||
|
list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/${OS})
|
||||||
|
|
||||||
# prefer board implementation module over os implmementation module
|
# prefer board implementation module over os implmementation module
|
||||||
set(board_impl_module px4_impl_${OS}_${BOARD})
|
set(board_impl_module px4_impl_${OS}_${BOARD})
|
||||||
|
|
|
@ -143,7 +143,7 @@ function(px4_nuttx_generate_builtin_commands)
|
||||||
math(EXPR command_count "${command_count}+1")
|
math(EXPR command_count "${command_count}+1")
|
||||||
endif()
|
endif()
|
||||||
endforeach()
|
endforeach()
|
||||||
configure_file(${CMAKE_SOURCE_DIR}/cmake/builtin_commands.c.in
|
configure_file(${CMAKE_SOURCE_DIR}/cmake/nuttx/builtin_commands.c.in
|
||||||
${OUT})
|
${OUT})
|
||||||
endfunction()
|
endfunction()
|
||||||
|
|
|
@ -49,7 +49,7 @@
|
||||||
#define dprintf(...)
|
#define dprintf(...)
|
||||||
#define ddeclare(...)
|
#define ddeclare(...)
|
||||||
#else
|
#else
|
||||||
#define ddeclare(...) __VA_ARGS_
|
#define ddeclare(...) __VA_ARGS__
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue