mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-02 05:58:30 -04:00
cf432e8b3e
That function is not only for vehicles.
23 lines
451 B
Python
23 lines
451 B
Python
#!/usr/bin/env python
|
|
# encoding: utf-8
|
|
|
|
import ardupilotwaf
|
|
|
|
def build(bld):
|
|
vehicle = bld.path.name
|
|
ardupilotwaf.ap_stlib(
|
|
bld,
|
|
name=vehicle + '_libs',
|
|
vehicle=vehicle,
|
|
libraries=ardupilotwaf.COMMON_VEHICLE_DEPENDENT_LIBRARIES + [
|
|
'PID',
|
|
],
|
|
use='mavlink',
|
|
)
|
|
|
|
ardupilotwaf.ap_program(
|
|
bld,
|
|
program_name='antennatracker',
|
|
use=vehicle + '_libs',
|
|
)
|