mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
Replay: build: use separate library
There are checks for APM_BUILD_Replay in the source code, so Replay tools needs a separate static library.
This commit is contained in:
parent
85afd9e245
commit
f426e2c681
@ -7,7 +7,18 @@ def build(bld):
|
||||
if not isinstance(bld.get_board(), boards.linux):
|
||||
return
|
||||
|
||||
bld.ap_program(
|
||||
use='ap',
|
||||
program_groups='tools',
|
||||
vehicle = bld.path.name
|
||||
|
||||
bld.ap_stlib(
|
||||
name=vehicle + '_libs',
|
||||
vehicle=vehicle,
|
||||
libraries=bld.ap_common_vehicle_libraries() + [
|
||||
'AP_InertialNav',
|
||||
],
|
||||
use='mavlink',
|
||||
)
|
||||
|
||||
bld.ap_program(
|
||||
program_groups='tools',
|
||||
use=vehicle + '_libs',
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user