aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authoredison.ai <edison.ai@arm.com>2020-07-16 15:44:18 +0800
committerKevin Peng <kevin.peng@arm.com>2020-07-16 09:17:00 +0000
commit7b299f55d51a5f75a0e84c5d51af61dcf20e3e8c (patch)
tree73f1429afa9d49766c64fbe044eee349adc1c9fa /tools
parent8f231c49df31bdb69456c207637d246971bbf6a0 (diff)
downloadtrusted-firmware-m-7b299f55d51a5f75a0e84c5d51af61dcf20e3e8c.tar.gz
Tools: Print out more information
- Print out the information of the generated files listed in the "tfm_generated_file_list.yaml". - Print out the information about what kind of file will be started to be generated. Change-Id: I7e2326668160800af8d9f114edb346f4f5cd487c Signed-off-by: Edison Ai <edison.ai@arm.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/tfm_parse_manifest_list.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/tfm_parse_manifest_list.py b/tools/tfm_parse_manifest_list.py
index 10306bf725..b2ce52d9a9 100644
--- a/tools/tfm_parse_manifest_list.py
+++ b/tools/tfm_parse_manifest_list.py
@@ -87,6 +87,7 @@ def process_manifest(manifest_list_file, append):
templatefile_name = 'secure_fw/partitions/manifestfilename.template'
template = ENV.get_template(templatefile_name)
+ print("Start to generate PSA manifests:")
for manifest_item in manifest_list:
manifest_path = os.path.expandvars(manifest_item['manifest'])
file = open(manifest_path)
@@ -148,6 +149,7 @@ def gen_files(context, gen_file_list, append):
file_list_yaml = yaml.safe_load(file_list_yaml_file)
file_list.extend(file_list_yaml["file_list"])
+ print("Start to generate file from the generated list:")
for file in file_list:
outfile_name = os.path.expandvars(file["output"])
templatefile_name = os.path.expandvars(file["template"])
@@ -155,6 +157,8 @@ def gen_files(context, gen_file_list, append):
if OUT_DIR is not None:
outfile_name = os.path.join(OUT_DIR, outfile_name)
+ print ("Generating " + outfile_name)
+
outfile_path = os.path.dirname(outfile_name)
if not os.path.exists(outfile_path):
os.makedirs(outfile_path)