Sub: Update build script and added to build_ci.sh
This commit is contained in:
parent
39dfc280aa
commit
86b57e230f
@ -1,2 +1,2 @@
|
||||
all:
|
||||
@$(MAKE) -C ../ -f Makefile.waf copter
|
||||
@$(MAKE) -C ../ -f Makefile.waf sub
|
||||
|
@ -1,15 +1,12 @@
|
||||
#!/usr/bin/env python
|
||||
# encoding: utf-8
|
||||
|
||||
import ardupilotwaf
|
||||
|
||||
def build(bld):
|
||||
vehicle = bld.path.name
|
||||
ardupilotwaf.vehicle_stlib(
|
||||
bld,
|
||||
bld.ap_stlib(
|
||||
name=vehicle + '_libs',
|
||||
vehicle=vehicle,
|
||||
libraries=ardupilotwaf.COMMON_VEHICLE_DEPENDENT_LIBRARIES + [
|
||||
libraries=bld.ap_common_vehicle_libraries() + [
|
||||
'AP_ADSB',
|
||||
'AC_AttitudeControl',
|
||||
'AC_Fence',
|
||||
@ -36,8 +33,7 @@ def build(bld):
|
||||
use='mavlink',
|
||||
)
|
||||
|
||||
ardupilotwaf.program(
|
||||
bld,
|
||||
bld.ap_program(
|
||||
program_name='ardusub',
|
||||
use=vehicle + '_libs',
|
||||
)
|
||||
|
@ -25,6 +25,7 @@ declare -A waf_supported_boards
|
||||
|
||||
build_platforms=( ["ArduPlane"]="navio raspilot minlure bebop sitl linux px4-v2"
|
||||
["ArduCopter"]="navio raspilot minlure bebop sitl linux px4-v2 px4-v4"
|
||||
["ArduSub"]="navio raspilot minlure bebop linux px4-v2 px4-v4"
|
||||
["APMrover2"]="navio raspilot minlure bebop sitl linux px4-v2"
|
||||
["AntennaTracker"]="navio raspilot minlure bebop sitl linux px4-v2"
|
||||
["Tools/Replay"]="linux")
|
||||
|
Loading…
Reference in New Issue
Block a user