Lines Matching refs:path
31 ABS_TOOL_PATH = os.path.abspath(os.path.dirname(__file__))
32 QEMU_CONFIGS_DIR = os.path.join(ABS_TOOL_PATH, 'qemu_configs')
117 kernel_path = os.path.join(build_dir, self._kernel_path)
147 linux_bin = os.path.join(build_dir, 'linux')
156 return os.path.join(build_dir, KCONFIG_PATH)
159 return os.path.join(build_dir, KUNITCONFIG_PATH)
162 return os.path.join(build_dir, OLD_KUNITCONFIG_PATH)
167 path = get_kunitconfig_path(build_dir)
168 if not os.path.exists(path):
169 shutil.copyfile(DEFAULT_KUNITCONFIG_PATH, path)
170 return kunit_config.parse_file(path)
174 for path in kunitconfig_paths:
175 if os.path.isdir(path):
176 path = os.path.join(path, KUNITCONFIG_PATH)
177 if not os.path.exists(path):
178 raise ConfigError(f'Specified kunitconfig ({path}) does not exist')
180 partial = kunit_config.parse_file(path)
183 diff_str = '\n\n'.join(f'{a}\n vs from {path}\n{b}' for a, b in diff)
189 return os.path.join(build_dir, OUTFILE_PATH)
192 config_path = os.path.join(QEMU_CONFIGS_DIR, arch + '.py')
193 if os.path.isfile(config_path):
202 # The module name/path has very little to do with where the actual file
210 module_path = '.' + os.path.join(os.path.basename(QEMU_CONFIGS_DIR), os.path.basename(config_path))
282 if build_dir and not os.path.exists(build_dir):
295 if os.path.exists(old_path):
302 if not os.path.exists(old_path):
311 if not os.path.exists(kconfig_path):