mirror of https://github.com/ArduPilot/ardupilot
AP_Bootloader: only build bootloader when --bootloader configured
This commit is contained in:
parent
608490f5ae
commit
f0e0b1baaa
|
@ -2,7 +2,8 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.ap_program(
|
if bld.env.BOOTLOADER:
|
||||||
use='ap',
|
bld.ap_program(
|
||||||
program_groups='bootloader'
|
use='ap',
|
||||||
)
|
program_groups='bootloader'
|
||||||
|
)
|
||||||
|
|
Loading…
Reference in New Issue