1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
def arc_siteinfo_setfunc(archinfo, osinfo, targetinfo, d):
archinfo['arc'] = "endian-little bit-32 "
osinfo['linux'] = "common-linux common-glibc"
targetinfo['arc-linux'] = "arc-linux"
return archinfo, osinfo, targetinfo
SITEINFO_EXTRA_DATAFUNCS += "arc_siteinfo_setfunc"
def arc_machdata_setfunc(machdata, d):
machdata["elf"] = { "arc" : (195, 0, 0, True, 32), }
return machdata
PACKAGEQA_EXTRA_MACHDEFFUNCS += "arc_machdata_setfunc"
def iamcu_siteinfo_setfunc(archinfo, osinfo, targetinfo, d):
archinfo['iamcu'] = "endian-little bit-32 "
osinfo['linux'] = "common-linux common-glibc"
targetinfo['iamcu-linux'] = "iamcu-linux"
return archinfo, osinfo, targetinfo
SITEINFO_EXTRA_DATAFUNCS += "iamcu_siteinfo_setfunc"
def nios2_machdata_setfunc(machdata, d):
machdata["elf"] = {"nios2": (113, 0, 0, True, 32), }
return machdata
PACKAGEQA_EXTRA_MACHDEFFUNCS += "nios2_machdata_setfunc"
|