forked from Archive/PX4-Autopilot
Added link of df driver libs
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
parent
53c0bccf19
commit
8fb8260bd4
|
@ -363,10 +363,10 @@ endif()
|
|||
#=============================================================================
|
||||
# DriverFramework Drivers
|
||||
#
|
||||
set(df_libraries)
|
||||
set(df_driver_libs)
|
||||
foreach(driver ${config_df_driver_list})
|
||||
add_subdirectory(src/lib/DriverFramework/drivers/${driver})
|
||||
list(APPEND df_libraries ${driver})
|
||||
list(APPEND df_driver_libs df_${driver})
|
||||
#message(STATUS "adding driver: ${driver}")
|
||||
endforeach()
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ if ("${BOARD}" STREQUAL "eagle")
|
|||
-Wl,--start-group
|
||||
${module_libraries}
|
||||
df_driver_framework
|
||||
${df_driver_libraries}
|
||||
${df_driver_libs}
|
||||
${FASTRPC_ARM_LIBS}
|
||||
pthread m rt
|
||||
-Wl,--end-group
|
||||
|
@ -35,7 +35,7 @@ else()
|
|||
-Wl,--start-group
|
||||
${module_libraries}
|
||||
df_driver_framework
|
||||
${df_driver_libraries}
|
||||
${df_driver_libs}
|
||||
pthread m rt
|
||||
-Wl,--end-group
|
||||
)
|
||||
|
@ -43,7 +43,7 @@ else()
|
|||
target_link_libraries(mainapp
|
||||
${module_libraries}
|
||||
df_driver_framework
|
||||
${df_driver_libraries}
|
||||
${df_driver_libs}
|
||||
pthread m
|
||||
)
|
||||
endif()
|
||||
|
|
|
@ -29,6 +29,7 @@ else()
|
|||
${module_libraries}
|
||||
${target_libraries}
|
||||
df_driver_framework
|
||||
${df_driver_libs}
|
||||
m
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue