Clean up location of nuttx specific template

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
Mark Charlebois 2015-09-08 13:54:43 -07:00
parent 29520dc5b1
commit c16c6a00e3
5 changed files with 3 additions and 2 deletions

View File

@ -111,6 +111,7 @@ set(package-contact "px4users@googlegroups.com")
# set module path
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
set(board_impl_module px4_impl_${OS}_${BOARD})

View File

@ -143,7 +143,7 @@ function(px4_nuttx_generate_builtin_commands)
math(EXPR command_count "${command_count}+1")
endif()
endforeach()
configure_file(${CMAKE_SOURCE_DIR}/cmake/builtin_commands.c.in
configure_file(${CMAKE_SOURCE_DIR}/cmake/nuttx/builtin_commands.c.in
${OUT})
endfunction()

View File

@ -49,7 +49,7 @@
#define dprintf(...)
#define ddeclare(...)
#else
#define ddeclare(...) __VA_ARGS_
#define ddeclare(...) __VA_ARGS__
#endif
/**