mirror of
https://github.com/Mbed-TLS/mbedtls-framework.git
synced 2026-07-27 14:27:48 +00:00
Prepare abi_check.py to scripts/legacy.make
Signed-off-by: Ronald Cron <[email protected]>
This commit is contained in:
@@ -233,8 +233,14 @@ class AbiChecker:
|
||||
my_environment["SHARED"] = "1"
|
||||
if os.path.exists(os.path.join(git_worktree_path, "crypto")):
|
||||
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(
|
||||
[self.make_command, "lib"],
|
||||
command,
|
||||
env=my_environment,
|
||||
cwd=git_worktree_path,
|
||||
stderr=subprocess.STDOUT
|
||||
|
||||
Reference in New Issue
Block a user