mirror of
https://github.com/Mbed-TLS/mbedtls-framework.git
synced 2026-08-08 12:17:47 +00:00
Prepare make_generated_files.py to the removal of generate_visualc_files.pl
Signed-off-by: Ronald Cron <[email protected]>
This commit is contained in:
@@ -158,11 +158,6 @@ if build_tree.looks_like_mbedtls_root(".") and not build_tree.is_mbedtls_3_6():
|
||||
[Path("tests/opt-testcases/handshake-generated.sh")],
|
||||
None, "--output"
|
||||
),
|
||||
GenerationScript(
|
||||
Path("scripts/generate_visualc_files.pl"),
|
||||
get_generation_script_files("scripts/generate_visualc_files.pl"),
|
||||
"--directory", None
|
||||
),
|
||||
]
|
||||
|
||||
def get_generated_files(generation_scripts: List[GenerationScript]):
|
||||
@@ -241,6 +236,13 @@ def main():
|
||||
if build_tree.looks_like_tf_psa_crypto_root("."):
|
||||
generation_scripts = TF_PSA_CRYPTO_GENERATION_SCRIPTS
|
||||
elif not build_tree.is_mbedtls_3_6():
|
||||
|
||||
if Path("scripts/generate_visualc_files.pl").is_file():
|
||||
MBEDTLS_GENERATION_SCRIPTS.append(
|
||||
GenerationScript(
|
||||
Path("scripts/generate_visualc_files.pl"),
|
||||
get_generation_script_files("scripts/generate_visualc_files.pl"),
|
||||
"--directory", None))
|
||||
generation_scripts = MBEDTLS_GENERATION_SCRIPTS
|
||||
else:
|
||||
raise Exception("No support for Mbed TLS 3.6")
|
||||
|
||||
Reference in New Issue
Block a user