Lines Matching refs:str

46 	def __init__(self, linux_arch: str, cross_compile: Optional[str]):
54 raise ConfigError('Could not call make command: ' + str(e))
61 def make_olddefconfig(self, build_dir: str, make_options: Optional[List[str]]) -> None:
71 raise ConfigError('Could not call make command: ' + str(e))
75 def make(self, jobs: int, build_dir: str, make_options: Optional[List[str]]) -> None:
77 'ARCH=' + self._linux_arch, 'O=' + build_dir, '--jobs=' + str(jobs)]
88 raise BuildError('Could not call execute make: ' + str(e))
97 def start(self, params: List[str], build_dir: str) -> subprocess.Popen:
103 def __init__(self, qemu_arch_params: qemu_config.QemuArchParams, cross_compile: Optional[str]):
120 def start(self, params: List[str], build_dir: str) -> subprocess.Popen:
144 def __init__(self, cross_compile: Optional[str]=None):
152 def start(self, params: List[str], build_dir: str) -> subprocess.Popen:
163 def get_kconfig_path(build_dir: str) -> str:
166 def get_kunitconfig_path(build_dir: str) -> str:
169 def get_old_kunitconfig_path(build_dir: str) -> str:
172 def get_parsed_kunitconfig(build_dir: str,
173 kunitconfig_paths: Optional[List[str]]=None) -> kunit_config.Kconfig:
196 def get_outfile_path(build_dir: str) -> str:
199 def _default_qemu_config_path(arch: str) -> str:
212 raise ConfigError(arch + ' is not a valid arch, options are ' + str(sorted(options)))
214 def _get_qemu_ops(config_path: str,
215 extra_qemu_args: Optional[List[str]],
216 cross_compile: Optional[str]) -> Tuple[str, LinuxSourceTreeOperations]:
246 build_dir: str,
247 kunitconfig_paths: Optional[List[str]]=None,
248 kconfig_add: Optional[List[str]]=None,
249 arch: Optional[str]=None,
250 cross_compile: Optional[str]=None,
251 qemu_config_path: Optional[str]=None,
252 extra_qemu_args: Optional[List[str]]=None) -> None:
269 def arch(self) -> str:
280 def validate_config(self, build_dir: str) -> bool:
288 'Missing: ' + ', '.join(str(e) for e in missing)
295 def build_config(self, build_dir: str, make_options: Optional[List[str]]) -> bool:
315 def _kunitconfig_changed(self, build_dir: str) -> bool:
323 def build_reconfig(self, build_dir: str, make_options: Optional[List[str]]) -> bool:
339 def build_kernel(self, jobs: int, build_dir: str, make_options: Optional[List[str]]) -> bool:
348 def run_kernel(self, args: Optional[List[str]]=None, build_dir: str='', filter_glob: str='', filter: str='', filter_action: Optional[str]=None, timeout: Optional[int]=None) -> Iterator[str]: