Improve directory coverage in PSA repo detection
Check for the 'drivers' and 'programs' directories additionally to the ones that are already there. Signed-off-by: David Horstmann <david.horstmann@arm.com>
This commit is contained in:
parent
0ac57ca6c6
commit
2fde99962d
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ import inspect
|
|||
def looks_like_psa_crypto_root(path: str) -> bool:
|
||||
"""Whether the given directory looks like the root of the PSA Crypto source tree."""
|
||||
return all(os.path.isdir(os.path.join(path, subdir))
|
||||
for subdir in ['include', 'core', 'tests'])
|
||||
for subdir in ['include', 'core', 'drivers', 'programs', 'tests'])
|
||||
|
||||
def looks_like_mbedtls_root(path: str) -> bool:
|
||||
"""Whether the given directory looks like the root of the Mbed TLS source tree."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue