forked from Archive/PX4-Autopilot
move __PX4_LINUX out of px4_impl_os.cmake
This commit is contained in:
parent
fb1b6a0ab9
commit
b70289c536
|
@ -1,3 +1,6 @@
|
|||
add_definitions(
|
||||
-D__PX4_LINUX
|
||||
)
|
||||
|
||||
px4_add_board(
|
||||
VENDOR aerotenna
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
add_definitions(
|
||||
-D__PX4_LINUX
|
||||
|
||||
-DRC_AUTOPILOT_EXT # Enable extensions in Robotics Cape Library, TODO: remove
|
||||
)
|
||||
|
||||
px4_add_board(
|
||||
VENDOR beaglebone
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
add_definitions(
|
||||
-D__PX4_LINUX
|
||||
)
|
||||
|
||||
px4_add_board(
|
||||
VENDOR emlid
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
add_definitions(
|
||||
-D__PX4_LINUX
|
||||
)
|
||||
|
||||
px4_add_board(
|
||||
VENDOR px4
|
||||
|
|
|
@ -251,22 +251,6 @@ function(px4_os_add_flags)
|
|||
add_definitions(-D__PX4_LINUX)
|
||||
endif()
|
||||
|
||||
elseif (("${PX4_BOARD}" MATCHES "navio2") OR ("${PX4_BOARD}" MATCHES "raspberrypi"))
|
||||
#TODO: move to board support
|
||||
add_definitions(-D__PX4_LINUX)
|
||||
|
||||
elseif ("${PX4_BOARD}" MATCHES "aerotenna_ocpoc")
|
||||
#TODO: move to board support
|
||||
add_definitions(-D__PX4_LINUX)
|
||||
|
||||
elseif ("${PX4_BOARD}" MATCHES "beaglebone_blue")
|
||||
#TODO: move to board support
|
||||
add_definitions(
|
||||
-D__PX4_LINUX
|
||||
|
||||
-DRC_AUTOPILOT_EXT # Enable extensions in Robotics Cape Library, TODO: remove
|
||||
)
|
||||
|
||||
endif()
|
||||
|
||||
endfunction()
|
||||
|
|
Loading…
Reference in New Issue