mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-01 21:48:28 -04:00
AP_Periph: fix build type for SITL builds to use "sitl_*"
This commit is contained in:
parent
0d41db5520
commit
60e8d747c6
@ -4,7 +4,7 @@
|
|||||||
import fnmatch
|
import fnmatch
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
targets = ['f103-*', 'f303-*', 'CUAV_GPS', 'ZubaxGNSS*', 'Cube*-periph', 'sitl*']
|
targets = ['f103-*', 'f303-*', 'CUAV_GPS', 'ZubaxGNSS*', 'Cube*-periph', 'sitl_*']
|
||||||
valid_target = False
|
valid_target = False
|
||||||
for t in targets:
|
for t in targets:
|
||||||
if fnmatch.fnmatch(bld.env.BOARD, t):
|
if fnmatch.fnmatch(bld.env.BOARD, t):
|
||||||
|
Loading…
Reference in New Issue
Block a user