blob: 73003200fbd8daea9e15721b01155cce0a32b035 (
plain)
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
|
from rtems_waf.config import Default, Config
class Base(Config):
arch = name = "sparc64"
conflicts=("clang",)
def build(self, c):
c.LINKCMDS = ['src/lib/libbsp/sparc64/shared/startup/linkcmds']
c.LINK_START = ['${RTEMS}/start.o', 'crtbegin.o', '-e', '_start']
c.LINK_END = ['crtend.o']
class niagara(Base):
name = "sparc64/niagara"
def build(self, c):
c.CFLAGS = ['-mcpu=niagara', '-DSUN4V']
class usiii(Base):
name = "sparc64/usiii"
def build(self, c):
c.CFLAGS = ['-mcpu=ultrasparc3', '-DUS3', '-DSUN4U']
def header(self, c):
c.SIMSPARC_FAST_IDLE = Default
|