(self, arch: str)
| 36 | MINIMUM_SUPPORTED_VERSION = (6, 9, 0) |
| 37 | |
| 38 | def __init__(self, arch: str) -> None: |
| 39 | super().__init__() |
| 40 | |
| 41 | self.bolt_instrumentation: bool = False |
| 42 | self.bolt_sampling_output: Path = tc_build.utils.UNINIT_PATH |
| 43 | self.config_targets: list[str] = [] |
| 44 | self.cross_compile: str = '' |
| 45 | self.lsm: LinuxSourceManager = LinuxSourceManager() |
| 46 | self.make_variables: MakeVars = { |
| 47 | 'ARCH': arch, |
| 48 | # We do not want warnings to cause build failures when profiling. |
| 49 | 'KCFLAGS': '-Wno-error', |
| 50 | } |
| 51 | self.needs_binutils: bool = False |
| 52 | self.show_commands: bool = True |
| 53 | self.silent: bool = True |
| 54 | self.toolchain_prefix: Path = tc_build.utils.UNINIT_PATH |
| 55 | self.toolchain_version: tuple[int, ...] = () |
| 56 | self.use_ias: bool = True |
| 57 | |
| 58 | def build(self) -> None: |
| 59 | bin_folder = Path(self.toolchain_prefix, 'bin') |
no test coverage detected