AP_Bootloader: only build bootloader when --bootloader configured

This commit is contained in:
Andrew Tridgell 2018-06-17 07:57:09 +10:00
parent 608490f5ae
commit f0e0b1baaa
1 changed files with 5 additions and 4 deletions

View File

@ -2,6 +2,7 @@
# encoding: utf-8
def build(bld):
if bld.env.BOOTLOADER:
bld.ap_program(
use='ap',
program_groups='bootloader'