qurt cmake dependency fixes

This commit is contained in:
Daniel Agar 2018-05-21 01:12:22 -04:00
parent 835275f1a4
commit 305e1b7b95
4 changed files with 9 additions and 0 deletions

View File

@ -46,6 +46,7 @@ else()
${module_libraries}
${df_driver_libs}
m
modules__muorb__adsp
)
add_custom_target(upload

View File

@ -192,6 +192,7 @@ function(px4_os_add_flags)
set(added_optimization_flags
-fPIC
-fmath-errno
)
# Clear -rdynamic flag which fails for hexagon

View File

@ -57,4 +57,5 @@ add_library(px4_layer
${QURT_LAYER_SRCS}
${CONFIG_SRC}
)
target_link_libraries(px4_layer PRIVATE work_queue)
add_dependencies(px4_layer uorb_msgs) # dataman requires mission

View File

@ -166,3 +166,9 @@ int fputc(int c, FILE *stream)
{
return c;
}
int putchar(int character)
{
PX4_ERR("Error: Calling unresolved symbol stub:[%s]", __FUNCTION__);
return character;
}