21 lines
469 B
Python
21 lines
469 B
Python
class Target:
|
|
|
|
def __init__(self,
|
|
name,
|
|
arch,
|
|
os,
|
|
runtime,
|
|
toolchain,
|
|
mode="native"):
|
|
|
|
self.name = name
|
|
self.arch = arch
|
|
self.os = os
|
|
self.runtime = runtime # host | lxc | libvirt
|
|
self.toolchain = toolchain
|
|
|
|
self.mode = mode # native | cross | verify
|
|
|
|
def is_cross(self):
|
|
return self.arch != "x86_64"
|