Print this page
9542 Cleanup of unwanted entries in the proto area
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/uts/sun4u/snowbird/Makefile
+++ new/usr/src/uts/sun4u/snowbird/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 #
↓ open down ↓ |
12 lines elided |
↑ open up ↑ |
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) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
23 +# Copyright 2018 Gary mills
23 24 #
24 25 # This makefile drives the production of the sun4u snowbird platform
25 26 # module.
26 27 #
27 28 # sun4u snowbird implementation architecture dependent
28 29 #
29 30
30 31 #
31 32 # Path to the base of the uts directory tree (usually /usr/src/uts).
32 33 #
33 34 UTSBASE = ../..
34 35
35 36 include $(UTSBASE)/sun4u/snowbird/Makefile.snowbird
36 37
37 38 #
38 39 #
39 40 #
40 41
41 42 def := TARGET= def
42 43 all := TARGET= all
43 44 install := TARGET= install
44 45 install_h := TARGET= install_h
45 46 clean := TARGET= clean
46 47 clobber := TARGET= clobber
47 48 lint := TARGET= lint
48 49 lintlib := TARGET= lintlib
49 50 modlintlib := TARGET= modlintlib
50 51 modlist := TARGET= modlist
51 52 modlist := NO_STATE= -K $$MODSTATE$$$$
52 53 clean.lint := TARGET= clean.lint
53 54 check := TARGET= check
54 55
55 56 IMPLEMENTED_PLATFORM = SUNW,Netra-CP2300
56 57
57 58 #
58 59 # Default build targets.
59 60 #
60 61 .KEEP_STATE:
61 62
62 63 .PARALLEL: $(SNOWBIRD_KMODS)
63 64
64 65 def all clean clobber clean.lint modlist: $(SNOWBIRD_KMODS)
65 66
66 67 install: $(ROOT_SNOWBIRD_DIR) $(USR_SNOWBIRD_DIR) \
67 68 $(USR_SNOWBIRD_INC_DIR) \
68 69 $(USR_SNOWBIRD_SBIN_DIR) \
69 70 $(USR_SNOWBIRD_SBIN_PRTDIAG) \
70 71 $(USR_SNOWBIRD_SBIN_FRUADM) \
71 72 $(USR_SNOWBIRD_LIB_DIR) \
72 73 .WAIT $(SNOWBIRD_KMODS) \
73 74 ttymux_dacf ttymux.conf
74 75
75 76 modlintlib: $(SNOWBIRD_KMODS)
↓ open down ↓ |
43 lines elided |
↑ open up ↑ |
76 77
77 78 $(SNOWBIRD_KMODS): FRC
78 79 @cd $@; pwd; $(MAKE) $(NO_STATE) $(TARGET)
79 80
80 81 ttymux_dacf: $(ROOT_SNOWBIRD_DACF_DIR_64)
81 82 -@$(RM) $(ROOT_SNOWBIRD_DACF_DIR_64)/$@
82 83 $(SYMLINK) $(ROOT_SNOWBIRD_DACF_LINK_64)/$@ \
83 84 $(ROOT_SNOWBIRD_DACF_DIR_64)/$@
84 85
85 86
86 -ttymux.conf: $(ROOT_SNOWBIRD_DRV_DIR)
87 +ttymux.conf: $(ROOT_SNOWBIRD_DRV_DIR_32)
87 88 -@$(RM) $(ROOT_SNOWBIRD_DRV_DIR_32)/$@
88 89 $(SYMLINK) $(ROOT_SNOWBIRD_DRV_LINK_32)/$@ \
89 90 $(ROOT_SNOWBIRD_DRV_DIR_32)/$@
90 91
91 92 install_h check: FRC
92 93 @cd sys; pwd; $(MAKE) $(TARGET)
93 94
94 95 lint: modlintlib
95 96
96 97 LINT_LIBS = $(LINT_LIB) \
97 98 -L$(SNOWBIRD_LINT_LIB_DIR) \
98 99 -L$(LINT_LIB_DIR) $(LINT_KMODS:%=-l%) \
99 100 $(CLOSED_LINT_KMODS:%=-l%) \
100 101 -L$(SPARC_LIB_DIR) $(SPARC_LINTS:%=-l%)
101 102
102 103 lint.platmod: modlintlib
103 104 @-$(ECHO) "\nSnowbird Platform-dependent module: global crosschecks:"
104 105 @-$(LINT) $(LINTFLAGS) $(LINT_LIBS) 2>&1 | $(LGREP.2)
105 106
106 107 #
107 108 # Include common targets.
108 109 #
109 110 include $(UTSBASE)/sun4u/snowbird/Makefile.targ
↓ open down ↓ |
13 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX