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/sparc/Makefile
+++ new/usr/src/uts/sparc/Makefile
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 2008 Sun Microsystems, Inc. All rights reserved.
23 23 # Use is subject to license terms.
24 24 #
25 25 # uts/sparc/Makefile
26 26 #
27 27 # This makefile drives the production of all implementation architecture
28 28 # independent modules for the SPARC processor. (For those unsure, this
29 29 # means the module will run on all SPARC processor based machines
↓ open down ↓ |
29 lines elided |
↑ open up ↑ |
30 30 # running SunOS.)
31 31
32 32 UTSBASE = ..
33 33
34 34 include Makefile.sparc
35 35
36 36 LINT_KMODS_X1 = $(LINT_KMODS:nsmb=)
37 37 LINT_KMODS_X2 = $(LINT_KMODS_X1:smbfs=)
38 38 LINT_KMODLIBS = $(LINT_KMODS_X2:e1000g=)
39 39 LINT_LIBS = $(LINT_LIB) $(GEN_LINT_LIB) \
40 - $(LINT_KMODLIBS:%=$(LINT_LIB_DIR)/llib-l%.ln)
41 -
42 -$(CLOSED_BUILD)LINT_LIBS += $(CLOSED_LINT_KMODS:%=$(LINT_LIB_DIR)/llib-l%.ln)
43 -
44 -$(CLOSED_BUILD)LINT_LIBS += $(SVVS_KMODS:%=$(LINT_LIB_DIR)/llib-l%.ln)
45 -LINT_LIBS += $(LINT_XMODLIBS:%=$(LINT_LIB_DIR)/llib-l%.ln)
46 -$(CLOSED_BUILD)LINT_LIBS += $(CLOSED_XMODS:%=$(LINT_LIB_DIR)/llib-l%.ln)
40 + $(LINT_KMODLIBS:%=$(LINT_LIB_DIR)/llib-l%.ln) \
41 + $(LINT_XMODLIBS:%=$(LINT_LIB_DIR)/llib-l%.ln)
47 42
48 43 DRV_KMODS += dprov
49 44
50 45 def := TARGET= def
51 46 all := TARGET= all
52 47 install := TARGET= install
53 48 clean := TARGET= clean
54 49 clobber := TARGET= clobber
55 50 lint := TARGET= lint
56 51 modlintlib := TARGET= modlintlib
57 52 modlist := TARGET= modlist
58 53 modlist := NO_STATE= -K $$MODSTATE$$$$
59 54 clean.lint := TARGET= clean.lint
60 55 check := TARGET= check
61 56 install_h := TARGET= install_h
62 57
63 58 .KEEP_STATE:
64 59
65 -.PARALLEL: $(PARALLEL_KMODS) $(CLOSED_KMODS) $(SVVS) $(XMODS) \
66 - $(CLOSED_XMODS) config $(LINT_DEPS)
60 +.PARALLEL: $(PARALLEL_KMODS) $(XMODS) config $(LINT_DEPS)
67 61
68 -def all install clean clobber modlist: $(KMODS) $(CLOSED_KMODS) $(SVVS) \
69 - $(XMODS) $(CLOSED_XMODS) config
62 +def all install clean clobber modlist: $(KMODS) $(XMODS) config
70 63
71 -modlintlib clean.lint: $(LINT_KMODS) $(CLOSED_LINT_KMODS) $(SVVS) \
72 - $(XMODS) $(CLOSED_XMODS)
64 +modlintlib clean.lint: $(LINT_KMODS) $(XMODS)
73 65
74 66 $(KMODS) config: FRC
75 67 @cd $@; pwd; $(MAKE) $(NO_STATE) $(TARGET)
76 68
77 -$(CLOSED_KMODS): FRC
78 - cd $(CLOSED)/uts/sparc/$@; pwd; $(MAKE) $(NO_STATE) $(TARGET)
79 -
80 69 $(XMODS): FRC
81 70 @if [ -f $@/Makefile ]; then \
82 71 cd $@; pwd; $(MAKE) $(NO_STATE) $(TARGET); \
83 72 else \
84 73 true; \
85 74 fi
86 75
87 -$(SVVS) $(CLOSED_XMODS): FRC
88 - @if [ -f $(CLOSED)/uts/sparc/$@/Makefile ]; then \
89 - cd $(CLOSED)/uts/sparc/$@; pwd; \
90 - $(MAKE) $(NO_STATE) $(TARGET); \
91 - else \
92 - true; \
93 - fi
94 -
95 76 install_h check: FRC
96 77 @cd asm; pwd; $(MAKE) $(TARGET)
97 78 @cd sys; pwd; $(MAKE) $(TARGET)
98 79 @cd v7/sys; pwd; $(MAKE) $(TARGET)
99 80 @cd v9/sys; pwd; $(MAKE) $(TARGET)
100 81
101 82 #
102 83 # Full kernel lint target.
103 84 #
104 85 LINT_TARGET = globallint
105 86
106 87 globallint:
107 88 @-$(ECHO) "\nFULL KERNEL: global crosschecks:"
108 89 @-$(LINT) $(LINTFLAGS) $(LINT_LIBS) 2>&1 | $(LGREP.2)
109 90
110 91 lint: modlintlib .WAIT $(LINT_DEPS)
111 92
112 93 include ../Makefile.targ
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX