Print this page
4027 remove CLOSED_BUILD
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/uts/intel/intel_nhm/Makefile
+++ new/usr/src/uts/intel/intel_nhm/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.
↓ open down ↓ |
21 lines elided |
↑ open up ↑ |
22 22 #
23 23
24 24 #
25 25 # Intel Nehalem memory controller module
26 26 #
27 27
28 28 #
29 29 # Path to the base of the uts directory tree (usually /usr/src/uts).
30 30 #
31 31 UTSBASE = ../..
32 -UTSCLOSED = ../../../../closed/uts
33 32
34 33 #
35 34 # Define the module and object file sets.
36 35 #
37 36 MODULE = intel_nhm
38 37 #
39 38 ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
40 39 CONF_SRCDIR = $(UTSBASE)/intel/io/intel_nhm
41 40
42 41 #
43 42 # Include common rules.
44 43 #
45 44 include $(UTSBASE)/intel/Makefile.intel
46 45
47 -#
48 -# The list of object files is defined here, rather than in Makefile.files,
49 -# because the "$(CLOSED_BUILD)" macro has not been defined at the time
50 -# Makefile.files is processed.
51 -#
52 -INTEL_NHM_OBJS += \
53 - nhm_init.o \
54 - mem_addr.o \
55 - intel_nhmdrv.o \
56 - nhm_pci_cfg.o \
57 - dimm_topo.o \
58 - intel_nhm.o
59 -
60 -$(CLOSED_BUILD)INTEL_NHM_OBJS += \
61 - nhm_dimm_addr.o
62 -
63 46 OBJECTS = $(INTEL_NHM_OBJS:%=$(OBJS_DIR)/%)
64 47 LINTS = $(INTEL_NHM_OBJS:%.o=$(LINTS_DIR)/%.ln)
65 48
66 49 #
67 50 # Define targets
68 51 #
69 52 ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
70 53 LINT_TARGET = $(LINT_MODULE).lint
71 54 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
72 55
73 56 CPPFLAGS += -I$(UTSBASE)/i86pc
74 57 LDFLAGS += -dy -N drv/smbios
75 58
76 59 CERRWARN += -_gcc=-Wno-uninitialized
77 60
78 61 #
79 62 # Default build targets.
80 63 #
81 64 .KEEP_STATE:
82 65
83 66 def: $(DEF_DEPS)
84 67
85 68 all: $(ALL_DEPS)
86 69
87 70 clean: $(CLEAN_DEPS)
88 71
89 72 clobber: $(CLOBBER_DEPS)
90 73
91 74 lint: $(LINT_DEPS)
92 75
↓ open down ↓ |
20 lines elided |
↑ open up ↑ |
93 76 modlintlib: $(MODLINTLIB_DEPS)
94 77
95 78 clean.lint: $(CLEAN_LINT_DEPS)
96 79
97 80 install: $(INSTALL_DEPS)
98 81
99 82 #
100 83 # Include common targets.
101 84 #
102 85 include ../Makefile.targ
103 -$(CLOSED_BUILD)include $(UTSCLOSED)/intel/Makefile.rules
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX