Print this page
4027 remove CLOSED_BUILD
4028 remove CLOSED_IS_PRESENT
4029 remove tonic build bits
Reviewed by: Andy Stormont <andyjstormont@gmail.com>
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/uts/sun4u/mpxu/Makefile.mpxu.shared
+++ new/usr/src/uts/sun4u/mpxu/Makefile.mpxu.shared
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.
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 (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
23 23 #
24 24
25 25 #
26 26 # Global definitions for sun4u implementation specific modules.
27 27 #
28 28
29 29 #
30 30 # Define the name of this implementation.
31 31 #
32 32
33 33 #
34 34 # Define directories.
35 35 #
36 36 ROOT_MPXU_DIR = $(ROOT_PLAT_DIR)/SUNW,Sun-Fire-V240
37 37 ROOT_MPXU_MOD_DIR = $(ROOT_MPXU_DIR)/kernel
38 38
39 39 ROOT_MPXU_DRV_DIR_32 = $(ROOT_MPXU_MOD_DIR)/drv
40 40 ROOT_MPXU_DRV_DIR_64 = $(ROOT_MPXU_MOD_DIR)/drv/$(SUBDIR64)
41 41 ROOT_MPXU_DRV_DIR = $(ROOT_MPXU_DRV_DIR_$(CLASS))
42 42
43 43 ROOT_MPXU_MISC_DIR_32 = $(ROOT_MPXU_MOD_DIR)/misc
44 44 ROOT_MPXU_MISC_DIR_64 = $(ROOT_MPXU_MOD_DIR)/misc/$(SUBDIR64)
45 45 ROOT_MPXU_MISC_DIR = $(ROOT_MPXU_MISC_DIR_$(CLASS))
46 46
47 47 ROOT_MPXU_CRYPTO_DIR_32 = $(ROOT_MPXU_MOD_DIR)/crypto
48 48 ROOT_MPXU_CRYPTO_DIR_64 = $(ROOT_MPXU_MOD_DIR)/crypto/$(SUBDIR64)
49 49 ROOT_MPXU_CRYPTO_DIR = $(ROOT_MPXU_CRYPTO_DIR_$(CLASS))
50 50
51 51 USR_MPXU_DIR = $(USR_PLAT_DIR)/SUNW,Sun-Fire-V240
52 52 USR_MPXU_INC_DIR = $(USR_MPXU_DIR)/include
53 53 USR_MPXU_ISYS_DIR = $(USR_MPXU_INC_DIR)/sys
54 54 USR_MPXU_SBIN_DIR = $(USR_MPXU_DIR)/sbin
55 55 USR_MPXU_SBIN_PRTDIAG = $(USR_MPXU_SBIN_DIR)/prtdiag
56 56 USR_MPXU_SBIN_FRUADM = $(USR_MPXU_SBIN_DIR)/fruadm
57 57 USR_MPXU_LIB_DIR = $(USR_MPXU_DIR)/lib
58 58
59 59 MPXU_LINT_LIB_DIR = $(UTSBASE)/$(PLATFORM)/mpxu/lint-libs/$(OBJS_DIR)
60 60
61 61 #
62 62 # Links to UltraSparc III crypto modules
63 63 #
64 64 MPXU_CRYPTO_LINKS = aes
65 65
66 66 #
67 67 # Include the makefiles which define build rule templates, the
68 68 # collection of files per module, and a few specific flags. Note
69 69 # that order is significant, just as with an include path. The
70 70 # first build rule template which matches the files name will be
71 71 # used. By including these in order from most machine dependent
72 72 # to most machine independent, we allow a machine dependent file
73 73 # to be used in preference over a machine independent version
74 74 # (Such as a machine specific optimization, which preserves the
75 75 # interfaces.)
↓ open down ↓ |
75 lines elided |
↑ open up ↑ |
76 76 #
77 77
78 78 include $(UTSTREE)/sun4u/mpxu/Makefile.files
79 79 #
80 80 # Include common rules.
81 81 #
82 82
83 83 include $(UTSTREE)/sun4u/Makefile.sun4u
84 84
85 85 #
86 -# Define modules (must come after Makefile.sun4u, for CLOSED_BUILD).
86 +# Define modules (must come after Makefile.sun4u).
87 87 #
88 88 MPXU_KMODS = tsalarm
89 -$(CLOSED_BUILD)CLOSED_MPXU_KMODS = platmod ntwdt
90 89
91 90 MODSTUBS_DIR = $(UNIX_DIR)
92 91 LINTS_DIR = $(OBJS_DIR)
93 92 LINT_LIB_DIR = $(UTSBASE)/$(PLATFORM)/mpxu/lint-libs/$(OBJS_DIR)
94 93
95 94 #
96 95 # Define the actual specific platforms
97 96 #
98 97 MACHINE_DEFS = -D$(PLATFORM) -D_MACHDEP -DSFMMU -DMP
99 98
100 99 #
101 100 # Define platform specific values
102 101 #
103 102 #MACHINE_DEFS += -DNCPU=554
104 103 #MACHINE_DEFS += -DMAX_UPA=1024
105 104 #MACHINE_DEFS += -DIGN_SIZE=10
106 105 # Max IOSRAM TOC major version number supported
107 106 #MACHINE_DEFS += -DMAX_IOSRAM_TOC_VER=0x1
108 107
109 108 # Define for inline pre-processing since
110 109 # cpp not smart about v9 yet.
111 110 #
112 111 CPP_DEFS_32 =
113 112 CPP_DEFS_64 = -D__sparcv9
114 113 CPP_DEFS = $(CPP_DEFS_$(CLASS))
115 114
116 115 #
117 116 # For now, disable these lint checks; maintainers should endeavor
118 117 # to investigate and remove these for maximum lint coverage.
119 118 # Please do not carry these forward to new Makefiles.
120 119 #
121 120 LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
122 121 LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
123 122 LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
124 123 LINTTAGS += -erroff=E_STATIC_UNUSED
125 124 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
126 125 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
↓ open down ↓ |
27 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX