Lines Matching refs:str
45 def __init__(self, linux_arch: str, cross_compile: Optional[str]):
53 raise ConfigError('Could not call make command: ' + str(e))
60 def make_olddefconfig(self, build_dir: str, make_options: Optional[List[str]]) -> None:
70 raise ConfigError('Could not call make command: ' + str(e))
74 def make(self, jobs: int, build_dir: str, make_options: Optional[List[str]]) -> None:
75 command = ['make', 'ARCH=' + self._linux_arch, 'O=' + build_dir, '--jobs=' + str(jobs)]
86 raise BuildError('Could not call execute make: ' + str(e))
95 def start(self, params: List[str], build_dir: str) -> subprocess.Popen:
101 def __init__(self, qemu_arch_params: qemu_config.QemuArchParams, cross_compile: Optional[str]):
116 def start(self, params: List[str], build_dir: str) -> subprocess.Popen:
137 def __init__(self, cross_compile: Optional[str]=None):
145 def start(self, params: List[str], build_dir: str) -> subprocess.Popen:
155 def get_kconfig_path(build_dir: str) -> str:
158 def get_kunitconfig_path(build_dir: str) -> str:
161 def get_old_kunitconfig_path(build_dir: str) -> str:
164 def get_parsed_kunitconfig(build_dir: str,
165 kunitconfig_paths: Optional[List[str]]=None) -> kunit_config.Kconfig:
188 def get_outfile_path(build_dir: str) -> str:
191 def _default_qemu_config_path(arch: str) -> str:
197 raise ConfigError(arch + ' is not a valid arch, options are ' + str(sorted(options)))
199 def _get_qemu_ops(config_path: str,
200 extra_qemu_args: Optional[List[str]],
201 cross_compile: Optional[str]) -> Tuple[str, LinuxSourceTreeOperations]:
231 build_dir: str,
232 kunitconfig_paths: Optional[List[str]]=None,
233 kconfig_add: Optional[List[str]]=None,
234 arch: Optional[str]=None,
235 cross_compile: Optional[str]=None,
236 qemu_config_path: Optional[str]=None,
237 extra_qemu_args: Optional[List[str]]=None) -> None:
254 def arch(self) -> str:
265 def validate_config(self, build_dir: str) -> bool:
273 'Missing: ' + ', '.join(str(e) for e in missing)
280 def build_config(self, build_dir: str, make_options: Optional[List[str]]) -> bool:
300 def _kunitconfig_changed(self, build_dir: str) -> bool:
308 def build_reconfig(self, build_dir: str, make_options: Optional[List[str]]) -> bool:
324 def build_kernel(self, jobs: int, build_dir: str, make_options: Optional[List[str]]) -> bool:
333 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]: