mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
waf: vehicles and antennatracker: use methods from bld
Instead of from ardupilotwaf.
This commit is contained in:
parent
a89a1a8a8a
commit
e9d3dc9e72
@ -1,15 +1,12 @@
|
||||
#!/usr/bin/env python
|
||||
# encoding: utf-8
|
||||
|
||||
import ardupilotwaf
|
||||
|
||||
def build(bld):
|
||||
vehicle = bld.path.name
|
||||
ardupilotwaf.ap_stlib(
|
||||
bld,
|
||||
bld.ap_stlib(
|
||||
name=vehicle + '_libs',
|
||||
vehicle=vehicle,
|
||||
libraries=ardupilotwaf.COMMON_VEHICLE_DEPENDENT_LIBRARIES + [
|
||||
libraries=bld.common_vehicle_libraries() + [
|
||||
'APM_Control',
|
||||
'AP_Arming',
|
||||
'AP_Camera',
|
||||
@ -27,8 +24,7 @@ def build(bld):
|
||||
use='mavlink',
|
||||
)
|
||||
|
||||
ardupilotwaf.ap_program(
|
||||
bld,
|
||||
bld.ap_program(
|
||||
program_name='ardurover',
|
||||
use=vehicle + '_libs',
|
||||
)
|
||||
|
@ -1,22 +1,18 @@
|
||||
#!/usr/bin/env python
|
||||
# encoding: utf-8
|
||||
|
||||
import ardupilotwaf
|
||||
|
||||
def build(bld):
|
||||
vehicle = bld.path.name
|
||||
ardupilotwaf.ap_stlib(
|
||||
bld,
|
||||
bld.ap_stlib(
|
||||
name=vehicle + '_libs',
|
||||
vehicle=vehicle,
|
||||
libraries=ardupilotwaf.COMMON_VEHICLE_DEPENDENT_LIBRARIES + [
|
||||
libraries=bld.common_vehicle_libraries() + [
|
||||
'PID',
|
||||
],
|
||||
use='mavlink',
|
||||
)
|
||||
|
||||
ardupilotwaf.ap_program(
|
||||
bld,
|
||||
bld.ap_program(
|
||||
program_name='antennatracker',
|
||||
use=vehicle + '_libs',
|
||||
)
|
||||
|
@ -1,15 +1,12 @@
|
||||
#!/usr/bin/env python
|
||||
# encoding: utf-8
|
||||
|
||||
import ardupilotwaf
|
||||
|
||||
def build(bld):
|
||||
vehicle = bld.path.name
|
||||
ardupilotwaf.ap_stlib(
|
||||
bld,
|
||||
bld.ap_stlib(
|
||||
name=vehicle + '_libs',
|
||||
vehicle=vehicle,
|
||||
libraries=ardupilotwaf.COMMON_VEHICLE_DEPENDENT_LIBRARIES + [
|
||||
libraries=bld.common_vehicle_libraries() + [
|
||||
'AP_ADSB',
|
||||
'AC_AttitudeControl',
|
||||
'AC_Fence',
|
||||
@ -36,8 +33,7 @@ def build(bld):
|
||||
use='mavlink',
|
||||
)
|
||||
|
||||
ardupilotwaf.ap_program(
|
||||
bld,
|
||||
bld.ap_program(
|
||||
program_name='arducopter',
|
||||
use=vehicle + '_libs',
|
||||
)
|
||||
|
@ -1,15 +1,12 @@
|
||||
#!/usr/bin/env python
|
||||
# encoding: utf-8
|
||||
|
||||
import ardupilotwaf
|
||||
|
||||
def build(bld):
|
||||
vehicle = bld.path.name
|
||||
ardupilotwaf.ap_stlib(
|
||||
bld,
|
||||
bld.ap_stlib(
|
||||
name=vehicle + '_libs',
|
||||
vehicle=vehicle,
|
||||
libraries=ardupilotwaf.COMMON_VEHICLE_DEPENDENT_LIBRARIES + [
|
||||
libraries=bld.common_vehicle_libraries() + [
|
||||
'APM_Control',
|
||||
'APM_OBC',
|
||||
'AP_ADSB',
|
||||
@ -37,8 +34,7 @@ def build(bld):
|
||||
use='mavlink',
|
||||
)
|
||||
|
||||
ardupilotwaf.ap_program(
|
||||
bld,
|
||||
bld.ap_program(
|
||||
program_name='arduplane',
|
||||
use=vehicle + '_libs',
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user