Print this page
*** NO COMMENTS ***
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/uts/sun4u/serengeti/Makefile.serengeti.shared
+++ new/usr/src/uts/sun4u/serengeti/Makefile.serengeti
1 1 #
2 2 # CDDL HEADER START
3 3 #
4 4 # The contents of this file are subject to the terms of the
5 5 # Common Development and Distribution License (the "License").
6 6 # You may not use this file except in compliance with the License.
7 7 #
8 8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 9 # or http://www.opensolaris.org/os/licensing.
10 10 # See the License for the specific language governing permissions
11 11 # and limitations under the License.
12 12 #
13 13 # When distributing Covered Code, include this CDDL HEADER in each
14 14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
↓ open down ↓ |
14 lines elided |
↑ open up ↑ |
15 15 # If applicable, add the following below this CDDL HEADER, with the
16 16 # fields enclosed by brackets "[]" replaced with your own identifying
17 17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 18 #
19 19 # CDDL HEADER END
20 20 #
21 21 #
22 22 # Copyright 2007 Sun Microsystems, Inc. All rights reserved.
23 23 # Use is subject to license terms.
24 24 #
25 -#ident "%Z%%M% %I% %E% SMI"
26 25
27 26 #
28 27 # Global definitions for sun4u implementation specific modules.
29 28 #
30 29
31 30 #
32 31 # Define the name of this implementation.
33 32 #
34 33
35 34 #
36 35 # Define directories.
37 36 #
38 37 ROOT_SERENGETI_DIR = $(ROOT_PLAT_DIR)/SUNW,Sun-Fire
39 38 ROOT_SERENGETI_MOD_DIR = $(ROOT_SERENGETI_DIR)/kernel
40 39
41 40 ROOT_SERENGETI_KERN_DIR_32 = $(ROOT_SERENGETI_MOD_DIR)
42 41 ROOT_SERENGETI_KERN_DIR_64 = $(ROOT_SERENGETI_MOD_DIR)/$(SUBDIR64)
43 42 ROOT_SERENGETI_KERN_DIR = $(ROOT_SERENGETI_KERN_DIR_$(CLASS))
44 43
45 44 ROOT_SERENGETI_CPU_DIR_32 = $(ROOT_SERENGETI_MOD_DIR)/cpu
46 45 ROOT_SERENGETI_CPU_DIR_64 = $(ROOT_SERENGETI_MOD_DIR)/cpu/$(SUBDIR64)
47 46 ROOT_SERENGETI_CPU_DIR = $(ROOT_SERENGETI_CPU_DIR_$(CLASS))
48 47
49 48 ROOT_SERENGETI_DRV_DIR_32 = $(ROOT_SERENGETI_MOD_DIR)/drv
50 49 ROOT_SERENGETI_DRV_DIR_64 = $(ROOT_SERENGETI_MOD_DIR)/drv/$(SUBDIR64)
51 50 ROOT_SERENGETI_DRV_DIR = $(ROOT_SERENGETI_DRV_DIR_$(CLASS))
52 51
53 52 ROOT_SERENGETI_MISC_DIR_32 = $(ROOT_SERENGETI_MOD_DIR)/misc
54 53 ROOT_SERENGETI_MISC_DIR_64 = $(ROOT_SERENGETI_MOD_DIR)/misc/$(SUBDIR64)
55 54 ROOT_SERENGETI_MISC_DIR = $(ROOT_SERENGETI_MISC_DIR_$(CLASS))
56 55
57 56 ROOT_SERENGETI_CRYPTO_DIR_32 = $(ROOT_SERENGETI_MOD_DIR)/crypto
58 57 ROOT_SERENGETI_CRYPTO_DIR_64 = $(ROOT_SERENGETI_MOD_DIR)/crypto/$(SUBDIR64)
59 58 ROOT_SERENGETI_CRYPTO_DIR = $(ROOT_SERENGETI_CRYPTO_DIR_$(CLASS))
60 59
61 60 ROOT_PLAT_MOD_DIRS += $(ROOT_SERENGETI_MOD_DIR)
62 61 ROOT_PLAT_MISC_DIRS_32 += $(ROOT_SERENGETI_MISC_DIR_32)
63 62
64 63 USR_SERENGETI_DIR = $(USR_PLAT_DIR)/SUNW,Sun-Fire
65 64 USR_SERENGETI_INC_DIR = $(USR_SERENGETI_DIR)/include
66 65 USR_SERENGETI_ISYS_DIR = $(USR_SERENGETI_INC_DIR)/sys
67 66 USR_SERENGETI_SBIN_DIR = $(USR_SERENGETI_DIR)/sbin
68 67 USR_SERENGETI_LIB_DIR = $(USR_SERENGETI_DIR)/lib
69 68
70 69 SERENGETI_LINT_LIB_DIR = $(UTSBASE)/$(PLATFORM)/serengeti/lint-libs/$(OBJS_DIR)
71 70
72 71 #
73 72 # Include the makefiles which define build rule templates, the
74 73 # collection of files per module, and a few specific flags. Note
75 74 # that order is significant, just as with an include path. The
76 75 # first build rule template which matches the files name will be
77 76 # used. By including these in order from most machine dependent
78 77 # to most machine independent, we allow a machine dependent file
↓ open down ↓ |
43 lines elided |
↑ open up ↑ |
79 78 # to be used in preference over a machine independent version
80 79 # (Such as a machine specific optimization, which preserves the
81 80 # interfaces.)
82 81 #
83 82
84 83 #
85 84 # Links to UltraSparc III crypto modules
86 85 #
87 86 SERENGETI_CRYPTO_LINKS += aes
88 87
89 -include $(UTSTREE)/sun4u/serengeti/Makefile.files
88 +include $(UTSBASE)/sun4u/serengeti/Makefile.files
90 89 #
91 90 # Include common rules.
92 91 #
93 92
94 -include $(UTSTREE)/sun4u/Makefile.sun4u
93 +include $(UTSBASE)/sun4u/Makefile.sun4u
95 94
96 95 #
97 96 # Define modules
98 97 #
99 98 SERENGETI_KMODS = cheetah cheetahplus
100 99 SERENGETI_KMODS += platmod sbdp sgcn sghsc sgsbbc ssm
101 100
102 101 #
103 102 # Everybody needs to know how to build modstubs.o and to locate unix.o
104 103 #
105 104 UNIX_DIR = $(UTSBASE)/$(PLATFORM)/serengeti/unix
106 105 MODSTUBS_DIR = $(UNIX_DIR)
107 106 DSF_DIR = $(UTSBASE)/$(PLATFORM)/serengeti/genassym
108 107 LINTS_DIR = $(OBJS_DIR)
109 108 LINT_LIB_DIR = $(UTSBASE)/$(PLATFORM)/serengeti/lint-libs/$(OBJS_DIR)
110 109
111 110 UNIX_O = $(UNIX_DIR)/$(OBJS_DIR)/unix.o
112 111
113 112 LINT_LIB = $(LINT_LIB_DIR)/llib-lunix.ln
114 113
115 114 #
116 115 # Define the actual specific platforms
117 116 #
118 117 MACHINE_DEFS = -D$(PLATFORM) -D_MACHDEP -DSFMMU -DMP -DMIXEDCPU_DR_SUPPORTED
119 118
120 119 #
121 120 # Define platform specific values
122 121 #
123 122 MACHINE_DEFS += -DNCPU=558
124 123 MACHINE_DEFS += -DMAX_CPU_CHIPID=554
125 124 MACHINE_DEFS += -DMAX_UPA=1024
126 125 MACHINE_DEFS += -DIGN_SIZE=10
127 126 MACHINE_DEFS += -DMAX_MEM_NODES=8
128 127 MACHINE_DEFS += -DLOCKED_DTLB_ENTRIES=6
129 128 # Max IOSRAM TOC major version number supported
130 129 MACHINE_DEFS += -DMAX_IOSRAM_TOC_VER=0x1
131 130 MACHINE_DEFS += -DC_OBP
132 131
133 132 # Define for inline pre-processing since
134 133 # cpp is not smart about v9 yet.
135 134 # It's not smart about __sparc either since it only predefines sparc.
136 135 CPP_DEFS_32 = -D__sparc
137 136 CPP_DEFS_64 = -D__sparc -D__sparcv9
138 137 CPP_DEFS = $(CPP_DEFS_$(CLASS))
139 138
140 139 #
141 140 # For now, disable these lint checks; maintainers should endeavor
142 141 # to investigate and remove these for maximum lint coverage.
143 142 # Please do not carry these forward to new Makefiles.
144 143 #
145 144 LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
146 145 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
147 146 LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
148 147 LINTTAGS += -erroff=E_STATIC_UNUSED
149 148 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
150 149 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
↓ open down ↓ |
46 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX