Revert "scripts: west: commands: make use of shield.yml in west shields command"
This reverts commit 9dd10af28b
.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
This commit is contained in:
parent
928472b4c7
commit
0ed2ca7ced
1 changed files with 1 additions and 8 deletions
|
@ -49,8 +49,6 @@ class Shields(WestCommand):
|
|||
The following arguments are available:
|
||||
|
||||
- name: shield name
|
||||
- full_name: shield full name (typically, its commercial name)
|
||||
- vendor: shield vendor
|
||||
- dir: directory that contains the shield definition
|
||||
'''))
|
||||
|
||||
|
@ -84,9 +82,4 @@ class Shields(WestCommand):
|
|||
for shield in list_shields.find_shields(args):
|
||||
if name_re is not None and not name_re.search(shield.name):
|
||||
continue
|
||||
self.inf(args.format.format(
|
||||
name=shield.name,
|
||||
dir=shield.dir,
|
||||
vendor=shield.vendor if hasattr(shield, 'vendor') else '',
|
||||
full_name=shield.full_name if hasattr(shield, 'full_name') else shield.name
|
||||
))
|
||||
self.inf(args.format.format(name=shield.name, dir=shield.dir))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue