Added link of df driver libs

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
Mark Charlebois 2016-02-09 01:19:50 -08:00 committed by Julian Oes
parent 53c0bccf19
commit 8fb8260bd4
3 changed files with 6 additions and 5 deletions

View File

@ -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()

View File

@ -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()

View File

@ -29,6 +29,7 @@ else()
${module_libraries}
${target_libraries}
df_driver_framework
${df_driver_libs}
m
)