mirror of https://github.com/ArduPilot/ardupilot
waf: ardupilotwaf: prefix build context methods with ap_
It helps to distinguish between things from waf and things from ardupilotwaf.
This commit is contained in:
parent
a2d2661765
commit
c2e3f05dbf
|
@ -6,7 +6,7 @@ def build(bld):
|
||||||
bld.ap_stlib(
|
bld.ap_stlib(
|
||||||
name=vehicle + '_libs',
|
name=vehicle + '_libs',
|
||||||
vehicle=vehicle,
|
vehicle=vehicle,
|
||||||
libraries=bld.common_vehicle_libraries() + [
|
libraries=bld.ap_common_vehicle_libraries() + [
|
||||||
'APM_Control',
|
'APM_Control',
|
||||||
'AP_Arming',
|
'AP_Arming',
|
||||||
'AP_Camera',
|
'AP_Camera',
|
||||||
|
|
|
@ -6,7 +6,7 @@ def build(bld):
|
||||||
bld.ap_stlib(
|
bld.ap_stlib(
|
||||||
name=vehicle + '_libs',
|
name=vehicle + '_libs',
|
||||||
vehicle=vehicle,
|
vehicle=vehicle,
|
||||||
libraries=bld.common_vehicle_libraries() + [
|
libraries=bld.ap_common_vehicle_libraries() + [
|
||||||
'PID',
|
'PID',
|
||||||
],
|
],
|
||||||
use='mavlink',
|
use='mavlink',
|
||||||
|
|
|
@ -6,7 +6,7 @@ def build(bld):
|
||||||
bld.ap_stlib(
|
bld.ap_stlib(
|
||||||
name=vehicle + '_libs',
|
name=vehicle + '_libs',
|
||||||
vehicle=vehicle,
|
vehicle=vehicle,
|
||||||
libraries=bld.common_vehicle_libraries() + [
|
libraries=bld.ap_common_vehicle_libraries() + [
|
||||||
'AP_ADSB',
|
'AP_ADSB',
|
||||||
'AC_AttitudeControl',
|
'AC_AttitudeControl',
|
||||||
'AC_Fence',
|
'AC_Fence',
|
||||||
|
|
|
@ -6,7 +6,7 @@ def build(bld):
|
||||||
bld.ap_stlib(
|
bld.ap_stlib(
|
||||||
name=vehicle + '_libs',
|
name=vehicle + '_libs',
|
||||||
vehicle=vehicle,
|
vehicle=vehicle,
|
||||||
libraries=bld.common_vehicle_libraries() + [
|
libraries=bld.ap_common_vehicle_libraries() + [
|
||||||
'APM_Control',
|
'APM_Control',
|
||||||
'APM_OBC',
|
'APM_OBC',
|
||||||
'AP_ADSB',
|
'AP_ADSB',
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -65,7 +65,7 @@ IGNORED_AP_LIBRARIES = [
|
||||||
]
|
]
|
||||||
|
|
||||||
@conf
|
@conf
|
||||||
def get_all_libraries(bld):
|
def ap_get_all_libraries(bld):
|
||||||
libraries = []
|
libraries = []
|
||||||
for lib_node in bld.srcnode.ant_glob('libraries/*', dir=True):
|
for lib_node in bld.srcnode.ant_glob('libraries/*', dir=True):
|
||||||
name = lib_node.name
|
name = lib_node.name
|
||||||
|
@ -78,7 +78,7 @@ def get_all_libraries(bld):
|
||||||
return libraries
|
return libraries
|
||||||
|
|
||||||
@conf
|
@conf
|
||||||
def common_vehicle_libraries(bld):
|
def ap_common_vehicle_libraries(bld):
|
||||||
return COMMON_VEHICLE_DEPENDENT_LIBRARIES
|
return COMMON_VEHICLE_DEPENDENT_LIBRARIES
|
||||||
|
|
||||||
@conf
|
@conf
|
||||||
|
@ -111,7 +111,7 @@ def ap_program(bld, blddestdir='bin',
|
||||||
)
|
)
|
||||||
|
|
||||||
@conf
|
@conf
|
||||||
def example(bld, **kw):
|
def ap_example(bld, **kw):
|
||||||
kw['blddestdir'] = 'examples'
|
kw['blddestdir'] = 'examples'
|
||||||
ap_program(bld, **kw)
|
ap_program(bld, **kw)
|
||||||
|
|
||||||
|
@ -159,7 +159,7 @@ def ap_stlib(bld, **kw):
|
||||||
bld.stlib(**kw)
|
bld.stlib(**kw)
|
||||||
|
|
||||||
@conf
|
@conf
|
||||||
def find_tests(bld, use=[]):
|
def ap_find_tests(bld, use=[]):
|
||||||
if not bld.env.HAS_GTEST:
|
if not bld.env.HAS_GTEST:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
@ -185,7 +185,7 @@ def find_tests(bld, use=[]):
|
||||||
)
|
)
|
||||||
|
|
||||||
@conf
|
@conf
|
||||||
def find_benchmarks(bld, use=[]):
|
def ap_find_benchmarks(bld, use=[]):
|
||||||
if not bld.env.HAS_GBENCHMARK:
|
if not bld.env.HAS_GBENCHMARK:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -5,6 +5,6 @@ def build(bld):
|
||||||
if bld.env.BOARD in ['sitl']:
|
if bld.env.BOARD in ['sitl']:
|
||||||
return
|
return
|
||||||
|
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.find_benchmarks(
|
bld.ap_find_benchmarks(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.find_benchmarks(
|
bld.ap_find_benchmarks(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.find_tests(
|
bld.ap_find_tests(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -5,6 +5,6 @@ def build(bld):
|
||||||
# TODO: Test code doesn't build. Fix or delete the test.
|
# TODO: Test code doesn't build. Fix or delete the test.
|
||||||
return
|
return
|
||||||
|
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -5,6 +5,6 @@ def build(bld):
|
||||||
# TODO: Test code doesn't build. Fix or delete the test.
|
# TODO: Test code doesn't build. Fix or delete the test.
|
||||||
return
|
return
|
||||||
|
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -5,6 +5,6 @@ def build(bld):
|
||||||
# TODO: Test code doesn't build. Fix or delete the test.
|
# TODO: Test code doesn't build. Fix or delete the test.
|
||||||
return
|
return
|
||||||
|
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.example(
|
bld.ap_example(
|
||||||
use='ap',
|
use='ap',
|
||||||
)
|
)
|
||||||
|
|
2
wscript
2
wscript
|
@ -141,7 +141,7 @@ def build(bld):
|
||||||
bld.ap_stlib(
|
bld.ap_stlib(
|
||||||
name='ap',
|
name='ap',
|
||||||
vehicle='UNKNOWN',
|
vehicle='UNKNOWN',
|
||||||
libraries=bld.get_all_libraries(),
|
libraries=bld.ap_get_all_libraries(),
|
||||||
use='mavlink',
|
use='mavlink',
|
||||||
)
|
)
|
||||||
# TODO: Currently each vehicle also generate its own copy of the
|
# TODO: Currently each vehicle also generate its own copy of the
|
||||||
|
|
Loading…
Reference in New Issue