mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
platforms: reorg after rebase on new board config
The new board config changed everything, so I needed to move the lockstep_scheduler repo.
This commit is contained in:
@@ -97,3 +97,6 @@ if(REPLAY_FILE)
|
||||
message("Building with uorb publisher rules support")
|
||||
add_definitions(-DORB_USE_PUBLISHER_RULES)
|
||||
endif()
|
||||
|
||||
add_definitions(-D__PX4_POSIX_SITL)
|
||||
set(LOCKSTEP_SCHEDULER_NEEDED yes)
|
||||
|
||||
@@ -31,5 +31,9 @@
|
||||
#
|
||||
############################################################################
|
||||
|
||||
if (LOCKSTEP_SCHEDULER_NEEDED)
|
||||
add_subdirectory(lockstep_scheduler)
|
||||
endif()
|
||||
|
||||
add_subdirectory(px4_daemon)
|
||||
add_subdirectory(px4_layer)
|
||||
|
||||
@@ -58,7 +58,7 @@ target_link_libraries(px4_layer PRIVATE px4_daemon)
|
||||
|
||||
if(LOCKSTEP_SCHEDULER_NEEDED)
|
||||
target_link_libraries(px4_layer PRIVATE lockstep_scheduler)
|
||||
include_directories(${PX4_SOURCE_DIR}/src/platforms/posix/lockstep_scheduler/include)
|
||||
include_directories(${PX4_SOURCE_DIR}/platforms/posix/src/lockstep_scheduler/include)
|
||||
endif()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user