2015-10-09 11:03:59 -03:00
|
|
|
#!/usr/bin/env python
|
|
|
|
# encoding: utf-8
|
|
|
|
|
|
|
|
import ardupilotwaf
|
|
|
|
|
|
|
|
def build(bld):
|
|
|
|
vehicle = bld.path.name
|
2016-01-21 08:53:08 -04:00
|
|
|
ardupilotwaf.ap_stlib(
|
2015-10-09 11:03:59 -03:00
|
|
|
bld,
|
|
|
|
name=vehicle + '_libs',
|
|
|
|
vehicle=vehicle,
|
|
|
|
libraries=ardupilotwaf.COMMON_VEHICLE_DEPENDENT_LIBRARIES + [
|
|
|
|
'PID',
|
|
|
|
],
|
2016-01-13 16:35:37 -04:00
|
|
|
use='mavlink',
|
2015-10-09 11:03:59 -03:00
|
|
|
)
|
|
|
|
|
2016-01-21 08:10:44 -04:00
|
|
|
ardupilotwaf.ap_program(
|
2015-10-09 11:03:59 -03:00
|
|
|
bld,
|
2016-01-17 23:42:52 -04:00
|
|
|
program_name='antennatracker',
|
2015-10-09 11:03:59 -03:00
|
|
|
use=vehicle + '_libs',
|
|
|
|
)
|