mirror of https://github.com/ArduPilot/ardupilot
Sub: Update build script and added to build_ci.sh
This commit is contained in:
parent
0e2f0321f9
commit
65a1d4fca1
|
@ -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',
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue