1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
1795e934ebcd58175d3b5bbdd811b13c7889efa3Timo Sirainen# CDDL HEADER START
1795e934ebcd58175d3b5bbdd811b13c7889efa3Timo Sirainen# The contents of this file are subject to the terms of the
1795e934ebcd58175d3b5bbdd811b13c7889efa3Timo Sirainen# Common Development and Distribution License (the "License").
1795e934ebcd58175d3b5bbdd811b13c7889efa3Timo Sirainen# You may not use this file except in compliance with the License.
1795e934ebcd58175d3b5bbdd811b13c7889efa3Timo Sirainen# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1795e934ebcd58175d3b5bbdd811b13c7889efa3Timo Sirainen# See the License for the specific language governing permissions
1795e934ebcd58175d3b5bbdd811b13c7889efa3Timo Sirainen# and limitations under the License.
1795e934ebcd58175d3b5bbdd811b13c7889efa3Timo Sirainen# When distributing Covered Code, include this CDDL HEADER in each
1795e934ebcd58175d3b5bbdd811b13c7889efa3Timo Sirainen# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1795e934ebcd58175d3b5bbdd811b13c7889efa3Timo Sirainen# If applicable, add the following below this CDDL HEADER, with the
3ccfcf0856958cb9208a9fc51c3bdf13c58ad52aTimo Sirainen# fields enclosed by brackets "[]" replaced with your own identifying
3ccfcf0856958cb9208a9fc51c3bdf13c58ad52aTimo Sirainen# information: Portions Copyright [yyyy] [name of copyright owner]
1795e934ebcd58175d3b5bbdd811b13c7889efa3Timo Sirainen# CDDL HEADER END
1795e934ebcd58175d3b5bbdd811b13c7889efa3Timo Sirainen# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
3ccfcf0856958cb9208a9fc51c3bdf13c58ad52aTimo Sirainen# Use is subject to license terms.
3ccfcf0856958cb9208a9fc51c3bdf13c58ad52aTimo Sirainen#ident "%Z%%M% %I% %E% SMI"
1795e934ebcd58175d3b5bbdd811b13c7889efa3Timo Sirainen# This makefile drives the production of the sun4u sunfire platform
3ccfcf0856958cb9208a9fc51c3bdf13c58ad52aTimo Sirainen# sun4u implementation architecture dependent
1795e934ebcd58175d3b5bbdd811b13c7889efa3Timo Sirainen# Path to the base of the uts directory tree (usually /usr/src/uts).
1795e934ebcd58175d3b5bbdd811b13c7889efa3Timo Sirainen# Include common rules.
1795e934ebcd58175d3b5bbdd811b13c7889efa3Timo Siraineninclude $(UTSBASE)/sun4u/sunfire/Makefile.sunfire
1795e934ebcd58175d3b5bbdd811b13c7889efa3Timo Sirainen# Default build targets.
1795e934ebcd58175d3b5bbdd811b13c7889efa3Timo Sirainenmodlintlib: $(SUNFIRE_KMODS) $(CLOSED_SUNFIRE_KMODS)
1795e934ebcd58175d3b5bbdd811b13c7889efa3Timo Siraineninstall: $(ROOT_SUNFIRE_DIR) $(USR_SUNFIRE_DIR) \
1795e934ebcd58175d3b5bbdd811b13c7889efa3Timo Sirainen .WAIT $(SUNFIRE_KMODS) $(CLOSED_SUNFIRE_KMODS)
1795e934ebcd58175d3b5bbdd811b13c7889efa3Timo Sirainen# The 'lint.platmod' target lints the sunfire platform module against the sun4u
1795e934ebcd58175d3b5bbdd811b13c7889efa3Timo Sirainen# kernel. This ends up doing all the kernel cross-checks, so it takes a couple
1795e934ebcd58175d3b5bbdd811b13c7889efa3Timo Sirainen# of minutes. Due to the low ROI, it's not run by default, but it's a good
1795e934ebcd58175d3b5bbdd811b13c7889efa3Timo Sirainen# idea to run this if you change os/sunfire.c.
1795e934ebcd58175d3b5bbdd811b13c7889efa3Timo Sirainen @-$(ECHO) "\nSunfire Platform-dependent module: global crosschecks:"
1795e934ebcd58175d3b5bbdd811b13c7889efa3Timo Sirainen @-$(LINT) $(LINTFLAGS) $(LINT_LIBS) 2>&1 | $(LGREP.2)
d735048af768fcac51aff26931b9887182a13554Timo Sirainen @cd $(CLOSED)/uts/sun4u/sunfire/$@; pwd; $(MAKE) $(NO_STATE) $(TARGET)
d735048af768fcac51aff26931b9887182a13554Timo Sirainen# Include common targets.