mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
Tools: waf: build Replay only for linux boards
Other boards (like PX4 ones) aren't supported yet.
This commit is contained in:
parent
841771096d
commit
7ba3df8c80
@ -1,7 +1,13 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
|
|
||||||
|
import boards
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
|
board = boards.get_board(bld.env.BOARD)
|
||||||
|
if not isinstance(board, boards.linux):
|
||||||
|
return
|
||||||
|
|
||||||
bld.ap_program(
|
bld.ap_program(
|
||||||
use='ap',
|
use='ap',
|
||||||
program_group='tools',
|
program_group='tools',
|
||||||
|
Loading…
Reference in New Issue
Block a user