Tools: Move partition templates into tools folder
Partition templates is part of automation tool, they should be
put with scripts together.
Change-Id: I8faf39eedeb159920fcaac99a78d30f704452829
Signed-off-by: Ken Liu <Ken.Liu@arm.com>
diff --git a/tools/tfm_parse_manifest_list.py b/tools/tfm_parse_manifest_list.py
index 53faa28..d2eae65 100644
--- a/tools/tfm_parse_manifest_list.py
+++ b/tools/tfm_parse_manifest_list.py
@@ -164,9 +164,9 @@
subcontext = {}
subcontext['utilities'] = subutilities
- manifesttemplate = ENV.get_template('secure_fw/partitions/manifestfilename.template')
- memorytemplate = ENV.get_template('secure_fw/partitions/partition_intermedia.template')
- infotemplate = ENV.get_template('secure_fw/partitions/partition_load_info.template')
+ manifesttemplate = ENV.get_template(os.path.join(os.path.relpath(os.path.dirname(__file__)), 'templates/manifestfilename.template'))
+ memorytemplate = ENV.get_template(os.path.join(os.path.relpath(os.path.dirname(__file__)), 'templates/partition_intermedia.template'))
+ infotemplate = ENV.get_template(os.path.join(os.path.relpath(os.path.dirname(__file__)), 'templates/partition_load_info.template'))
print ("Start to generate partition files:")