MCPcopy Create free account
hub / github.com/ClangBuiltLinux/tc-build / ArmV6KernelBuilder

Class ArmV6KernelBuilder

tc_build/kernel.py:211–229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

209
210
211class ArmV6KernelBuilder(ArmKernelBuilder):
212 def __init__(self) -> None:
213 super().__init__()
214
215 self.config_targets = ['aspeed_g5_defconfig']
216
217 def build(self) -> None:
218 if not tc_build.utils.path_is_set(self.lsm.location):
219 msg = 'build() called without configured LinuxSourceManager?'
220 raise RuntimeError(msg)
221
222 if self.get_toolchain_version() < (14, 0, 0) and self.lsm.get_version() >= (6, 14, 0):
223 # https://github.com/ClangBuiltLinux/continuous-integration2/pull/807
224 tc_build.utils.print_warning(
225 'aspeed_g5_defconfig does not build with LLVM < 14.0.0 and Linux >= 6.14.0, skipping build...'
226 )
227 return
228
229 super().build()
230
231
232class ArmV7KernelBuilder(ArmKernelBuilder):

Callers 1

buildMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected