summaryrefslogtreecommitdiff
path: root/tools/buildman/board.py
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-02-08 21:24:44 (GMT)
committerTom Rini <trini@konsulko.com>2017-02-08 21:24:44 (GMT)
commit21342d4aed6c77a4aa7a5b2579b3c23e21aea31a (patch)
tree279c781bdcbe697257ff86714fa0355bcd92fd19 /tools/buildman/board.py
parent7582ddce132390fba10822c5977cd1ab532bb1eb (diff)
parentf11a0af713a714ee2efcd810dd81c6dfd59381aa (diff)
downloadu-boot-fsl-qoriq-21342d4aed6c77a4aa7a5b2579b3c23e21aea31a.tar.xz
Merge git://git.denx.de/u-boot-dm
Diffstat (limited to 'tools/buildman/board.py')
-rw-r--r--tools/buildman/board.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/buildman/board.py b/tools/buildman/board.py
index ae0e0b8..f842d3a 100644
--- a/tools/buildman/board.py
+++ b/tools/buildman/board.py
@@ -249,15 +249,15 @@ class Boards:
exclude: List of boards to exclude, regardless of 'args'
Returns:
- Dictionary which holds the number of boards which were selected
+ Dictionary which holds the list of boards which were selected
due to each argument, arranged by argument.
"""
result = {}
terms = self._BuildTerms(args)
- result['all'] = 0
+ result['all'] = []
for term in terms:
- result[str(term)] = 0
+ result[str(term)] = []
exclude_list = []
for expr in exclude:
@@ -285,7 +285,7 @@ class Boards:
if build_it:
board.build_it = True
if matching_term:
- result[matching_term] += 1
- result['all'] += 1
+ result[matching_term].append(board.target)
+ result['all'].append(board.target)
return result