lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
Last change
on this file since 98975a8 was 41408d94, checked in by Jiří Zárevúcky <zarevucky.jiri@…>, 6 years ago |
sparc64
|
-
Property mode
set to
100644
|
File size:
1.3 KB
|
Line | |
---|
1 | arch_uspace_c_args = [ '-D__BE__', '-m64', '-mcmodel=medlow', '-mhard-float', '-m' + QUADFLOAT + '-quad-float' ]
|
---|
2 |
|
---|
3 | if PROCESSOR == 'sun4v'
|
---|
4 | arch_uspace_c_args += [ '-mcpu=niagara', '-mno-vis' ]
|
---|
5 | else
|
---|
6 | arch_uspace_c_args += [ '-mcpu=ultrasparc' ]
|
---|
7 | endif
|
---|
8 |
|
---|
9 | if PROCESSOR == 'us' or PROCESSOR == 'us3'
|
---|
10 | arch_uspace_c_args += [ '-DSUN4U' ]
|
---|
11 | elif PROCESSOR == 'sun4v'
|
---|
12 | arch_uspace_c_args += [ '-DSUN4V' ]
|
---|
13 | else
|
---|
14 | error('Unknown PROCESSOR: ' + PROCESSOR)
|
---|
15 | endif
|
---|
16 |
|
---|
17 |
|
---|
18 | arch_kernel_c_args = [ '-D__BE__', '-m64', '-mcmodel=medlow', '-mcpu=ultrasparc', '-mno-fpu' ]
|
---|
19 |
|
---|
20 | if PROCESSOR == 'us'
|
---|
21 | arch_kernel_c_args += [
|
---|
22 | '-DUS',
|
---|
23 | '-DSUN4U',
|
---|
24 | ]
|
---|
25 | elif PROCESSOR == 'us3'
|
---|
26 | arch_kernel_c_args += [
|
---|
27 | '-DUS3',
|
---|
28 | '-DSUN4U',
|
---|
29 | ]
|
---|
30 | elif PROCESSOR == 'sun4v'
|
---|
31 | arch_kernel_c_args += [
|
---|
32 | '-DSUN4V',
|
---|
33 | #MH
|
---|
34 | '-DUS',
|
---|
35 | ]
|
---|
36 | endif
|
---|
37 |
|
---|
38 |
|
---|
39 | arch_kernel_link_args = [ '-nostdlib', '-Wl,-no-check-sections' ]
|
---|
40 | arch_uspace_link_args = [ '-nostdlib', '-lgcc' ]
|
---|
41 |
|
---|
42 | if PROCESSOR == 'sun4v'
|
---|
43 | arch_uspace_link_args += [ '-Wl,-z,max-page-size=0x2000' ]
|
---|
44 | else
|
---|
45 | arch_uspace_link_args += [ '-Wl,-z,max-page-size=0x4000' ]
|
---|
46 | endif
|
---|
47 |
|
---|
48 |
|
---|
49 | if PROCESSOR == 'sun4v'
|
---|
50 | rd_essential += [
|
---|
51 | 'drv/platform/sun4v',
|
---|
52 | 'drv/char/sun4v-con',
|
---|
53 | ]
|
---|
54 | else
|
---|
55 | rd_essential += [
|
---|
56 | 'drv/platform/sun4u',
|
---|
57 | 'drv/bus/pci/pciintel',
|
---|
58 | 'drv/bus/isa',
|
---|
59 | 'drv/intctl/obio',
|
---|
60 | 'drv/char/ns8250',
|
---|
61 | ]
|
---|
62 | endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.