Lines Matching full:arch
24 def arch_file_search(path, arch): argument
26 target_path = path + "/" + arch
54 def get_arch_srcs(path, arch): argument
61 arch_srcs += arch_file_search(cur_path, arch)
62 elif os.path.isdir(path + "/" + src_dir + "/" + arch):
63 src_path = path + "/" + src_dir + "/" + arch
86 def replace_srcs_with_arch(base_srcs, arch_srcs, arch): argument
90 fake_name = change_subfix(src.replace("/" + arch, ""))
120 def get_header_dirs(path, arch): argument
122 path + "/arch/" + arch + "/bits",
123 path + "/arch/generic/bits",
148 def rm_dup_header(all_header_files, arch): argument
152 if "/arch/generic/bits" in file:
153 substitute_file = file.replace("/arch/generic/bits", "/arch/"+ arch +"/bits")
165 def search_for_files(path, arch): argument
166 if arch == "arm":
170 arch_srcs = get_arch_srcs(path, arch)
171 target_srcs, arch_removed = replace_srcs_with_arch(base_srcs, arch_srcs, arch)
178 all_header_files = get_all_header(get_header_dirs(path, arch))
179 header_files = rm_dup_header(all_header_files, arch)
182 "arch": arch_srcs,
198 parser.add_argument('--arch',
203 return search_for_files(args.path, args.arch)