6 # You may not use this file except in compliance with the License.
7 #
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
12 #
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 #
19 # CDDL HEADER END
20 #
21
22 #
23 # Copyright 2010 Sun Microsystems, Inc. All rights reserved.
24 # Use is subject to license terms.
25 # Copyright (c) 2013 Andrew Stormont. All rights reserved.
26 #
27 # This makefile contains the common definitions for the sun4u unix
28 # and all sun4u implementation architecture dependent modules.
29 #
30
31 #
32 # Machine type (implementation architecture):
33 #
34 PLATFORM = sun4u
35 PROMIF = ieee1275
36 PSMBASE = $(UTSBASE)/../psm
37
38 #
39 # uname -m value
40 #
41 UNAME_M = $(PLATFORM)
42
43 #
44 # Definitions for the platform-specific /platform directories.
45 #
174 IMPLEMENTATIONS += daktari
175 IMPLEMENTATIONS += cherrystone
176 IMPLEMENTATIONS += fjlite
177 IMPLEMENTATIONS += snowbird
178 IMPLEMENTATIONS += schumacher
179 IMPLEMENTATIONS += blade
180 IMPLEMENTATIONS += boston
181 IMPLEMENTATIONS += seattle
182 IMPLEMENTATIONS += chicago
183 IMPLEMENTATIONS += sunfire
184 IMPLEMENTATIONS += lw8
185 IMPLEMENTATIONS += makaha
186 IMPLEMENTATIONS += opl
187 IMPLEMENTATIONS += lw2plus
188
189 #
190 # machine specific optimization, override default in Makefile.master
191 #
192 CC_XARCH = -m64 -xarch=sparcvis
193 AS_XARCH = -xarch=v9a
194 COPTIMIZE = -xO3
195 CCMODE = -Xa
196
197 CFLAGS = -xchip=ultra $(CCABS32) $(CCREGSYM)
198 CFLAGS += $(CC_XARCH)
199 CFLAGS += $(COPTIMIZE)
200 CFLAGS += $(EXTRA_CFLAGS)
201 CFLAGS += $(XAOPT)
202 CFLAGS += $(INLINES) -D_ASM_INLINES
203 CFLAGS += $(CCMODE)
204 CFLAGS += $(SPACEFLAG)
205 CFLAGS += $(CERRWARN)
206 CFLAGS += $(CTF_FLAGS_$(CLASS))
207 CFLAGS += $(C99MODE)
208 CFLAGS += $(CCUNBOUND)
209 CFLAGS += $(CCNOAUTOINLINE)
210 CFLAGS += $(CCSTATICSYM)
211 CFLAGS += $(CC32BITCALLERS)
212 CFLAGS += $(IROPTFLAG)
213 CFLAGS += $(CGLOBALSTATIC)
214 CFLAGS += -xregs=no%float
|
6 # You may not use this file except in compliance with the License.
7 #
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
12 #
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 #
19 # CDDL HEADER END
20 #
21
22 #
23 # Copyright 2010 Sun Microsystems, Inc. All rights reserved.
24 # Use is subject to license terms.
25 # Copyright (c) 2013 Andrew Stormont. All rights reserved.
26 # Copyright 2014 Gary Mills
27 #
28 # This makefile contains the common definitions for the sun4u unix
29 # and all sun4u implementation architecture dependent modules.
30 #
31
32 #
33 # Machine type (implementation architecture):
34 #
35 PLATFORM = sun4u
36 PROMIF = ieee1275
37 PSMBASE = $(UTSBASE)/../psm
38
39 #
40 # uname -m value
41 #
42 UNAME_M = $(PLATFORM)
43
44 #
45 # Definitions for the platform-specific /platform directories.
46 #
175 IMPLEMENTATIONS += daktari
176 IMPLEMENTATIONS += cherrystone
177 IMPLEMENTATIONS += fjlite
178 IMPLEMENTATIONS += snowbird
179 IMPLEMENTATIONS += schumacher
180 IMPLEMENTATIONS += blade
181 IMPLEMENTATIONS += boston
182 IMPLEMENTATIONS += seattle
183 IMPLEMENTATIONS += chicago
184 IMPLEMENTATIONS += sunfire
185 IMPLEMENTATIONS += lw8
186 IMPLEMENTATIONS += makaha
187 IMPLEMENTATIONS += opl
188 IMPLEMENTATIONS += lw2plus
189
190 #
191 # machine specific optimization, override default in Makefile.master
192 #
193 CC_XARCH = -m64 -xarch=sparcvis
194 AS_XARCH = -xarch=v9a
195 COPTIMIZE = -_cc=-xO3 -_gcc=-O2
196 CCMODE = -Xa
197
198 CFLAGS = -xchip=ultra $(CCABS32) $(CCREGSYM)
199 CFLAGS += $(CC_XARCH)
200 CFLAGS += $(COPTIMIZE)
201 CFLAGS += $(EXTRA_CFLAGS)
202 CFLAGS += $(XAOPT)
203 CFLAGS += $(INLINES) -D_ASM_INLINES
204 CFLAGS += $(CCMODE)
205 CFLAGS += $(SPACEFLAG)
206 CFLAGS += $(CERRWARN)
207 CFLAGS += $(CTF_FLAGS_$(CLASS))
208 CFLAGS += $(C99MODE)
209 CFLAGS += $(CCUNBOUND)
210 CFLAGS += $(CCNOAUTOINLINE)
211 CFLAGS += $(CCSTATICSYM)
212 CFLAGS += $(CC32BITCALLERS)
213 CFLAGS += $(IROPTFLAG)
214 CFLAGS += $(CGLOBALSTATIC)
215 CFLAGS += -xregs=no%float
|