mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
Set flags for building the proper DriverFramework target
The DF_TARGET cmake variable needs to be set to (linux, darwin, qurt, nuttx) The define __DF_LINUX or __DF_QURT needs to be set. The __DF_DARWIN target is untested Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
@@ -429,6 +429,7 @@ function(px4_os_add_flags)
|
||||
)
|
||||
set(added_definitions
|
||||
-D__PX4_NUTTX
|
||||
-D__DF_NUTTX
|
||||
)
|
||||
set(added_c_flags
|
||||
-nodefaultlibs
|
||||
|
||||
Reference in New Issue
Block a user