Browse Source

Sub: Update build script and added to build_ci.sh

master
Rustom Jehangir 9 years ago committed by Andrew Tridgell
parent
commit
65a1d4fca1
  1. 2
      ArduSub/Makefile.waf
  2. 10
      ArduSub/wscript

2
ArduSub/Makefile.waf vendored

@ -1,2 +1,2 @@ @@ -1,2 +1,2 @@
all:
@$(MAKE) -C ../ -f Makefile.waf copter
@$(MAKE) -C ../ -f Makefile.waf sub

10
ArduSub/wscript

@ -1,15 +1,12 @@ @@ -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): @@ -36,8 +33,7 @@ def build(bld):
use='mavlink',
)
ardupilotwaf.program(
bld,
bld.ap_program(
program_name='ardusub',
use=vehicle + '_libs',
)

Loading…
Cancel
Save