mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-10-26 00:37:41 +03:00
Prepare abi_check.py to scripts/legacy.make
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
@@ -233,8 +233,14 @@ class AbiChecker:
|
|||||||
my_environment["SHARED"] = "1"
|
my_environment["SHARED"] = "1"
|
||||||
if os.path.exists(os.path.join(git_worktree_path, "crypto")):
|
if os.path.exists(os.path.join(git_worktree_path, "crypto")):
|
||||||
my_environment["USE_CRYPTO_SUBMODULE"] = "1"
|
my_environment["USE_CRYPTO_SUBMODULE"] = "1"
|
||||||
|
|
||||||
|
if os.path.exists(os.path.join(git_worktree_path, "scripts", "legacy.make")):
|
||||||
|
command = [self.make_command, "-f", "scripts/legacy.make", "lib"]
|
||||||
|
else:
|
||||||
|
command = [self.make_command, "lib"]
|
||||||
|
|
||||||
make_output = subprocess.check_output(
|
make_output = subprocess.check_output(
|
||||||
[self.make_command, "lib"],
|
command,
|
||||||
env=my_environment,
|
env=my_environment,
|
||||||
cwd=git_worktree_path,
|
cwd=git_worktree_path,
|
||||||
stderr=subprocess.STDOUT
|
stderr=subprocess.STDOUT
|
||||||
|
|||||||
Reference in New Issue
Block a user