From 6a5627a1de8d74f0dd66b63cf31d26a8c94e107d Mon Sep 17 00:00:00 2001 From: Anthony Barbier Date: Tue, 26 Sep 2017 14:42:02 +0100 Subject: COMPMID-417 Update changelog before release Change-Id: Ia37515fb8238a03699d75751b877d5aaff5ba1a0 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/89174 Reviewed-by: Moritz Pflanzer Tested-by: Anthony Barbier --- scripts/include_functions_kernels.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'scripts') 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") -- cgit v1.2.1