1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-28 00:21:48 +03:00

Make the changes easier to backport

The code replaced in this patch was not compatible with the
development_2.x branch.

Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com>
This commit is contained in:
Bence Szépkúti
2021-10-25 19:29:07 +02:00
parent 80b31c56eb
commit ca9236b0c5
2 changed files with 11 additions and 6 deletions

View File

@ -16,9 +16,8 @@ PSA_ARCH_TESTS_REF = 'crypto1.0-3.0'
def main():
mbedtls_dir = os.getcwd()
mbedcrypto_lib = 'library/libmbedcrypto.a'
if not os.path.exists(mbedcrypto_lib):
subprocess.check_call(['make', mbedcrypto_lib])
if not os.path.exists('library/libmbedcrypto.a'):
subprocess.check_call(['make', '-C', 'library', 'libmbedcrypto.a'])
psa_arch_tests_dir = 'psa-arch-tests'
try: