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/intel/intel_nb5000/Makefile
+++ new/usr/src/uts/intel/intel_nb5000/Makefile
1 1 # CDDL HEADER START
2 2 #
3 3 # The contents of this file are subject to the terms of the
4 4 # Common Development and Distribution License (the "License").
5 5 # You may not use this file except in compliance with the License.
6 6 #
7 7 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
8 8 # or http://www.opensolaris.org/os/licensing.
9 9 # See the License for the specific language governing permissions
10 10 # and limitations under the License.
11 11 #
12 12 # When distributing Covered Code, include this CDDL HEADER in each
13 13 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
14 14 # If applicable, add the following below this CDDL HEADER, with the
15 15 # fields enclosed by brackets "[]" replaced with your own identifying
16 16 # information: Portions Copyright [yyyy] [name of copyright owner]
17 17 #
18 18 # CDDL HEADER END
19 19 #
20 20 # Copyright 2009 Sun Microsystems, Inc. All rights reserved.
21 21 # Use is subject to license terms.
22 22 # Copyright (c) 2011 Bayard G. Bell. All rights reserved.
↓ open down ↓ |
22 lines elided |
↑ open up ↑ |
23 23 #
24 24
25 25 #
26 26 # Intel 5000/5100/5400/7300 chipset memory controller hub (MCH) module
27 27 #
28 28
29 29 #
30 30 # Path to the base of the uts directory tree (usually /usr/src/uts).
31 31 #
32 32 UTSBASE = ../..
33 -UTSCLOSED = ../../../../closed/uts
34 33
35 34 #
36 35 # Define the module and object file sets.
37 36 #
38 37 MODULE = intel_nb5000
39 38 #
40 39 ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
41 40 SRCDIR = $(UTSBASE)/intel/io/intel_nb5000
42 41 CONF_SRCDIR = $(UTSBASE)/intel/io/intel_nb5000
43 42
44 43 #
45 44 # Include common rules.
46 45 #
47 46 include ../Makefile.intel
48 47
49 -#
50 -# The list of object files is defined here, rather than in Makefile.files,
51 -# because the "$(CLOSED_BUILD)" macro has not been defined at the time
52 -# Makefile.files is processed.
53 -#
54 -INTEL_NB5000_OBJS += \
55 - intel_nb5000.o \
56 - intel_nbdrv.o \
57 - dimm_addr.o \
58 - nb_pci_cfg.o \
59 - nb5000_init.o
60 -
61 -$(CLOSED_BUILD)INTEL_NB5000_OBJS += memtrans.o
62 -
63 48 OBJECTS = $(INTEL_NB5000_OBJS:%=$(OBJS_DIR)/%)
64 49 LINTS = $(INTEL_NB5000_OBJS:%.o=$(LINTS_DIR)/%.ln)
65 50
66 51 #
67 52 # Define targets
68 53 #
69 54 ALL_TARGET = $(BINARY)
70 55 LINT_TARGET = $(LINT_MODULE).lint
71 56 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
72 57
73 58 #
74 59 # Depends on smbios
75 60 #
76 61 LDFLAGS += -dy -N drv/smbios
77 62
78 63 CERRWARN += -_gcc=-Wno-parentheses
79 64 CERRWARN += -_gcc=-Wno-uninitialized
80 65
81 66 #
82 67 # Default build targets.
83 68 #
84 69 .KEEP_STATE:
85 70
86 71 def: $(DEF_DEPS)
87 72
88 73 all: $(ALL_DEPS)
89 74
90 75 clean: $(CLEAN_DEPS)
91 76
92 77 clobber: $(CLOBBER_DEPS)
93 78
94 79 lint: $(LINT_DEPS)
95 80
96 81 modlintlib: $(MODLINTLIB_DEPS)
97 82
↓ open down ↓ |
25 lines elided |
↑ open up ↑ |
98 83 clean.lint: $(CLEAN_LINT_DEPS)
99 84
100 85 install: $(INSTALL_DEPS)
101 86
102 87 $(OBJECTS): $(OBJS_DIR) $(MCAMD_OFF_H)
103 88
104 89 #
105 90 # Include common targets.
106 91 #
107 92 include ../Makefile.targ
108 -$(CLOSED_BUILD)include $(UTSCLOSED)/intel/Makefile.rules
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX