Update license exemption list

As TF-PSA-Crypto is now a seperate repository, the license does not need
to be checked alongside Mbed TLS and instead has a seperate check.

Signed-off-by: Harry Ramsey <[email protected]>
This commit is contained in:
Harry Ramsey
2025-01-15 09:16:08 +00:00
parent f828f9c15e
commit 024ec9ee85
+3 -3
View File
@@ -371,10 +371,10 @@ class LicenseIssueTracker(LineIssueTracker):
LICENSE_EXEMPTION_RE_LIST = []
# Exempt third-party drivers which may be under a different license
if build_tree.is_mbedtls_3_6():
if build_tree.looks_like_tf_psa_crypto_root(os.getcwd()):
LICENSE_EXEMPTION_RE_LIST.append(r'drivers/(?=(everest)/.*)')
elif build_tree.is_mbedtls_3_6():
LICENSE_EXEMPTION_RE_LIST.append(r'3rdparty/(?!(p256-m)/.*)')
else:
LICENSE_EXEMPTION_RE_LIST.append(r'(tf-psa-crypto/)?drivers/(?=(everest)/.*)')
LICENSE_EXEMPTION_RE_LIST += [
# Documentation explaining the license may have accidental