Print this page
9702 HBA drivers don't need the redundant devfs_clean step
Reviewed by: Dan Fields <dan.fields@nexenta.com>
Reviewed by: Rick McNeal <rick.mcneal@nexenta.com>
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/uts/intel/mpt_sas/Makefile
+++ new/usr/src/uts/intel/mpt_sas/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
↓ open down ↓ |
10 lines elided |
↑ open up ↑ |
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 +
22 +#
21 23 # Copyright 2009 Sun Microsystems, Inc. All rights reserved.
22 24 # Use is subject to license terms.
23 25 #
24 -# This makefile drives the production of the mpt_sas driver kernel module.
25 -#
26 -# intel architecture dependent
27 -#
28 26
29 27 #
30 28 # Paths to the base of the uts directory trees
31 29 #
32 -UTSBASE = ../../../../src/uts
30 +UTSBASE= $(SRC)/uts
33 31
34 32 #
35 33 # Define the module and object file sets.
36 34 #
37 35 MODULE = mpt_sas
38 36 OBJECTS = $(MPTSAS_OBJS:%=$(OBJS_DIR)/%)
39 37 LINTS = $(MPTSAS_OBJS:%.o=$(LINTS_DIR)/%.ln)
40 38 ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
41 39 CONF_SRCDIR = $(UTSBASE)/common/io/scsi/adapters/mpt_sas/
42 40
43 41 #
44 42 # Kernel Module Dependencies
45 43 #
46 44 LDFLAGS += -dy -Nmisc/scsi -Ndrv/scsi_vhci -Nmisc/sata
47 45
48 46 #
49 47 # Define targets
50 48 #
51 49 ALL_TARGET = $(BINARY) $(CONFMOD)
52 50 LINT_TARGET = $(MODULE).lint
53 51 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
54 52
55 53 #
56 54 # Include common rules.
57 55 #
58 56 include $(UTSBASE)/intel/Makefile.intel
59 57
60 58 CERRWARN += -_gcc=-Wno-uninitialized
61 59
62 60 #
63 61 # Default build targets.
64 62 #
65 63 .KEEP_STATE:
66 64
67 65 all: $(ALL_DEPS)
68 66
69 67 def: $(DEF_DEPS)
70 68
71 69 clean: $(CLEAN_DEPS)
72 70
73 71 clobber: $(CLOBBER_DEPS)
74 72
75 73 lint: $(LINT_DEPS)
76 74
77 75 modlintlib: $(MODLINTLIB_DEPS)
78 76
79 77 clean.lint: $(CLEAN_LINT_DEPS)
80 78
81 79 install: $(INSTALL_DEPS)
82 80
83 81 #
84 82 # Include common targets.
85 83 #
86 84 include $(UTSBASE)/intel/Makefile.targ
↓ open down ↓ |
44 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX