edtlib: allow .yml files too
This is a common extension for YAML files. We don't have to allow it in upstream zephyr, but we should allow downstream DTS_ROOTs to have this ability. Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
This commit is contained in:
parent
d76bba4b5e
commit
d14835812c
1 changed files with 1 additions and 1 deletions
|
@ -2049,7 +2049,7 @@ def _binding_paths(bindings_dirs):
|
|||
for bindings_dir in bindings_dirs:
|
||||
for root, _, filenames in os.walk(bindings_dir):
|
||||
for filename in filenames:
|
||||
if filename.endswith(".yaml"):
|
||||
if filename.endswith(".yaml") or filename.endswith(".yml"):
|
||||
binding_paths.append(os.path.join(root, filename))
|
||||
|
||||
return binding_paths
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue