mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
Add support for Fedora 16.
This commit is contained in:
parent
7760706414
commit
d16619161c
@ -43,27 +43,28 @@ def load():
|
|||||||
if cpus > 0:
|
if cpus > 0:
|
||||||
smp_mflags = '-j%d' % (cpus)
|
smp_mflags = '-j%d' % (cpus)
|
||||||
defines = {
|
defines = {
|
||||||
'_os': ('none', 'none', 'linux'),
|
'_os': ('none', 'none', 'linux'),
|
||||||
'_host': ('triplet', 'required', uname[4] + '-linux-gnu'),
|
'_host': ('triplet', 'required', uname[4] + '-linux-gnu'),
|
||||||
'_host_vendor': ('none', 'none', 'gnu'),
|
'_host_vendor': ('none', 'none', 'gnu'),
|
||||||
'_host_os': ('none', 'none', 'linux'),
|
'_host_os': ('none', 'none', 'linux'),
|
||||||
'_host_cpu': ('none', 'none', uname[4]),
|
'_host_cpu': ('none', 'none', uname[4]),
|
||||||
'_host_alias': ('none', 'none', '%{nil}'),
|
'_host_alias': ('none', 'none', '%{nil}'),
|
||||||
'_host_arch': ('none', 'none', uname[4]),
|
'_host_arch': ('none', 'none', uname[4]),
|
||||||
'_usr': ('dir', 'required', '/usr'),
|
'_usr': ('dir', 'required', '/usr'),
|
||||||
'_var': ('dir', 'required', '/var'),
|
'_var': ('dir', 'required', '/var'),
|
||||||
'optflags': ('none', 'none', '-O2 -pipe'),
|
'optflags': ('none', 'none', '-O2 -pipe'),
|
||||||
'_smp_mflags': ('none', 'none', smp_mflags),
|
'_smp_mflags': ('none', 'none', smp_mflags),
|
||||||
'__bzip2': ('exe', 'required', '/usr/bin/bzip2'),
|
'__bzip2': ('exe', 'required', '/usr/bin/bzip2'),
|
||||||
'__gzip': ('exe', 'required', '/bin/gzip'),
|
'__gzip': ('exe', 'required', '/bin/gzip'),
|
||||||
'__tar': ('exe', 'required', '/bin/tar')
|
'__tar': ('exe', 'required', '/bin/tar')
|
||||||
}
|
}
|
||||||
variations = {
|
variations = {
|
||||||
'__bzip2': ('exe', 'required', '/bin/bzip2'),
|
'__bzip2': ('exe', 'required', '/bin/bzip2'), # Ubuntu
|
||||||
'__chgrp': ('exe', 'required', '/bin/chgrp'),
|
'__chgrp': ('exe', 'required', '/bin/chgrp'), # Ubuntu
|
||||||
'__chown': ('exe', 'required', '/bin/chown'),
|
'__chown': ('exe', 'required', '/bin/chown'), # Ubuntu
|
||||||
'__grep': ('exe', 'required', '/bin/grep'),
|
'__grep': ('exe', 'required', '/bin/grep'), # Ubuntu
|
||||||
'__sed': ('exe', 'required', '/bin/sed')
|
'__sed': ('exe', 'required', '/bin/sed'), # Ubuntu
|
||||||
|
'__install_info': ('exe', 'required', '/sbin/install-info') # Fedora
|
||||||
}
|
}
|
||||||
for v in variations:
|
for v in variations:
|
||||||
if path.exists(variations[v][2]):
|
if path.exists(variations[v][2]):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user