Tools: waf: build Replay only for linux boards

Other boards (like PX4 ones) aren't supported yet.
This commit is contained in:
Gustavo Jose de Sousa 2016-03-07 19:10:45 -03:00 committed by Lucas De Marchi
parent 841771096d
commit 7ba3df8c80

View File

@ -1,7 +1,13 @@
#!/usr/bin/env python
# encoding: utf-8
import boards
def build(bld):
board = boards.get_board(bld.env.BOARD)
if not isinstance(board, boards.linux):
return
bld.ap_program(
use='ap',
program_group='tools',