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:
Mark Charlebois
2015-11-18 20:14:48 -08:00
parent af155b8e59
commit 52957ab0cc
6 changed files with 11 additions and 11 deletions
+4 -1
View File
@@ -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()
#=============================================================================