mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
b251d14778
The program_dir defaults to the first group's name. That feature will be useful for "copter" build command, which will build all frame types.
15 lines
252 B
Python
15 lines
252 B
Python
#!/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_groups='tools',
|
|
)
|