AP_Periph: fix build type for SITL builds to use "sitl_*"

This commit is contained in:
bugobliterator 2020-09-13 23:41:34 +05:30 committed by Andrew Tridgell
parent 0d41db5520
commit 60e8d747c6

View File

@ -4,7 +4,7 @@
import fnmatch
def build(bld):
targets = ['f103-*', 'f303-*', 'CUAV_GPS', 'ZubaxGNSS*', 'Cube*-periph', 'sitl*']
targets = ['f103-*', 'f303-*', 'CUAV_GPS', 'ZubaxGNSS*', 'Cube*-periph', 'sitl_*']
valid_target = False
for t in targets:
if fnmatch.fnmatch(bld.env.BOARD, t):