fix(programs/psa): commit python3 generated file
Python should not be required for the build when the no_test target is used. This commit adds the generated file to the source tree and the check-generated-files script, and removes the generation from (c)make. Fixes #3524 Signed-off-by: Cameron Nemo <cnemo@tutanota.com>
This commit is contained in:
parent
9b33eb3284
commit
e18d09de37
7 changed files with 405 additions and 23 deletions
|
@ -411,7 +411,7 @@ def generate_psa_constants(header_file_names, output_file_name):
|
|||
temp_file_name = output_file_name + '.tmp'
|
||||
with open(temp_file_name, 'w') as output_file:
|
||||
collector.write_file(output_file)
|
||||
os.rename(temp_file_name, output_file_name)
|
||||
os.replace(temp_file_name, output_file_name)
|
||||
|
||||
if __name__ == '__main__':
|
||||
if not os.path.isdir('programs') and os.path.isdir('../programs'):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue