mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 15:38:52 +08:00
Don't add DriverFramework dir for NuttX
I am unable to get the nuttx build dependencies set up so that it builds the export dir before it builds df_driver_framework. Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
@@ -423,6 +423,7 @@ function(px4_os_add_flags)
|
||||
${nuttx_export_dir}/include/cxx
|
||||
${nuttx_export_dir}/arch/chip
|
||||
${nuttx_export_dir}/arch/common
|
||||
src/lib/DriverFramework/framework/include
|
||||
)
|
||||
set(added_link_dirs
|
||||
${nuttx_export_dir}/libs
|
||||
@@ -440,7 +441,7 @@ function(px4_os_add_flags)
|
||||
-nostdlib
|
||||
)
|
||||
|
||||
set(added_exe_linker_flags) # none currently
|
||||
set(added_exe_linker_flags -lstdc++) # none currently
|
||||
|
||||
set(cpu_flags)
|
||||
if (${BOARD} STREQUAL "px4fmu-v1")
|
||||
@@ -490,6 +491,8 @@ function(px4_os_add_flags)
|
||||
#message(STATUS "nuttx: set(${${var}} ${${${var}}} ${added_${lower_var}} PARENT_SCOPE)")
|
||||
endforeach()
|
||||
|
||||
set(DF_TARGET "nuttx" PARENT_SCOPE)
|
||||
|
||||
endfunction()
|
||||
|
||||
#=============================================================================
|
||||
|
||||
Reference in New Issue
Block a user