aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAnthony Barbier <anthony.barbier@arm.com>2017-09-26 14:42:02 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:35:24 +0000
commit6a5627a1de8d74f0dd66b63cf31d26a8c94e107d (patch)
tree6b2f2980ed271dfb24f75a9708e69fc0038bffb4 /scripts
parent80373f607cb12693824411510c39e367a4dfbdb5 (diff)
downloadComputeLibrary-6a5627a1de8d74f0dd66b63cf31d26a8c94e107d.tar.gz
COMPMID-417 Update changelog before release
Change-Id: Ia37515fb8238a03699d75751b877d5aaff5ba1a0 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/89174 Reviewed-by: Moritz Pflanzer <moritz.pflanzer@arm.com> Tested-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/include_functions_kernels.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/include_functions_kernels.py b/scripts/include_functions_kernels.py
index ab60343c4d..e6e5f5e7d5 100755
--- a/scripts/include_functions_kernels.py
+++ b/scripts/include_functions_kernels.py
@@ -45,12 +45,15 @@ def create_include_list(folder):
return updated_files
-def include_components(path, header_prefix, folder):
+def include_components(path, header_prefix, folder, subfolders=None):
for t in targets:
target_path = path + t.name + "/"
components_file = target_path + t.prefix + header_prefix
if os.path.exists(components_file):
include_list = create_include_list(target_path + folder)
+ for s in subfolders or []:
+ include_list += create_include_list( target_path + folder + "/" + s)
+ include_list.sort()
lines = read_file(components_file)
lines, first_pos = remove_existing_includes(lines)
lines = add_updated_includes(lines, first_pos, include_list)
@@ -59,7 +62,7 @@ def include_components(path, header_prefix, folder):
if __name__ == "__main__":
# Include kernels
- include_components(core_path, "Kernels.h", "kernels")
+ include_components(core_path, "Kernels.h", "kernels", ["arm32", "arm64"])
# Include functions
include_components(runtime_path, "Functions.h", "functions")