a35c0d48b0
Make the rename so that there is no name clashes when defining it as a taskgen method.
23 lines
456 B
Python
23 lines
456 B
Python
#!/usr/bin/env python
|
|
# encoding: utf-8
|
|
|
|
import ardupilotwaf
|
|
|
|
def build(bld):
|
|
vehicle = bld.path.name
|
|
ardupilotwaf.vehicle_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',
|
|
)
|