mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-26 17:53:59 -04:00
waf: add command 'list_boards'
The command will be used to allow travis script to know which boards are already supported by the waf build system. This is useful while the transition to the new build system is on going. The command can be removed when the transition is done and it's not used anywhere besides travis script.
This commit is contained in:
parent
f27b8869a6
commit
16eceec09f
5
wscript
5
wscript
@ -1,6 +1,8 @@
|
||||
#!/usr/bin/env python
|
||||
# encoding: utf-8
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
import os.path
|
||||
import sys
|
||||
sys.path.insert(0, 'Tools/ardupilotwaf/')
|
||||
@ -208,6 +210,9 @@ def collect_dirs_to_recurse(bld, globs, **kw):
|
||||
dirs.append(d.parent.relpath())
|
||||
return dirs
|
||||
|
||||
def list_boards(ctx):
|
||||
print(*BOARDS_NAMES)
|
||||
|
||||
def build(bld):
|
||||
# NOTE: Static library with vehicle set to UNKNOWN, shared by all
|
||||
# the tools and examples. This is the first step until the
|
||||
|
Loading…
Reference in New Issue
Block a user