File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -158,11 +158,6 @@ def get_generation_script_files(generation_script: str):
158158 [Path ("tests/opt-testcases/handshake-generated.sh" )],
159159 None , "--output"
160160 ),
161- GenerationScript (
162- Path ("scripts/generate_visualc_files.pl" ),
163- get_generation_script_files ("scripts/generate_visualc_files.pl" ),
164- "--directory" , None
165- ),
166161 ]
167162
168163def get_generated_files (generation_scripts : List [GenerationScript ]):
@@ -241,6 +236,13 @@ def main():
241236 if build_tree .looks_like_tf_psa_crypto_root ("." ):
242237 generation_scripts = TF_PSA_CRYPTO_GENERATION_SCRIPTS
243238 elif not build_tree .is_mbedtls_3_6 ():
239+
240+ if Path ("scripts/generate_visualc_files.pl" ).is_file ():
241+ MBEDTLS_GENERATION_SCRIPTS .append (
242+ GenerationScript (
243+ Path ("scripts/generate_visualc_files.pl" ),
244+ get_generation_script_files ("scripts/generate_visualc_files.pl" ),
245+ "--directory" , None ))
244246 generation_scripts = MBEDTLS_GENERATION_SCRIPTS
245247 else :
246248 raise Exception ("No support for Mbed TLS 3.6" )
You can’t perform that action at this time.
0 commit comments