Files
ardupilot/Tools/Replay/wscript
T
Thomas Watson e1880eb6fc Tools/Replay: remove unused configure function
This is never called as the main `wscript` does not recurse into this
directory until build time. Even if it were called, it would update the
environment for all builds instead of just replay. Even if it did update
the environment, nobody reads that variable so there's no effect.
2025-12-04 11:52:13 -06:00

27 lines
576 B
Python

# encoding: utf-8
# flake8: noqa
import boards
def build(bld):
if isinstance(bld.get_board(), boards.chibios) and bld.env['WITH_FATFS'] != '1' and bld.env['WITH_LITTLEFS'] != 1:
# we need a filesystem for replay
return
vehicle = bld.path.name
bld.ap_stlib(
name=vehicle + '_libs',
ap_vehicle=vehicle,
ap_libraries=bld.ap_common_vehicle_libraries() + [
'AP_OSD',
'AP_Avoidance',
],
)
bld.ap_program(
program_groups=['tool','replay'],
use=vehicle + '_libs',
)