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