Print this page
10077 usr/src/uts/ Makefile changes for smatch
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/uts/intel/ip6/Makefile
+++ new/usr/src/uts/intel/ip6/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, Version 1.0 only
6 6 # (the "License"). You may not use this file except in compliance
7 7 # with the License.
8 8 #
9 9 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 10 # or http://www.opensolaris.org/os/licensing.
11 11 # See the License for the specific language governing permissions
12 12 # and limitations under the License.
13 13 #
14 14 # When distributing Covered Code, include this CDDL HEADER in each
15 15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
↓ open down ↓ |
15 lines elided |
↑ open up ↑ |
16 16 # If applicable, add the following below this CDDL HEADER, with the
17 17 # fields enclosed by brackets "[]" replaced with your own identifying
18 18 # information: Portions Copyright [yyyy] [name of copyright owner]
19 19 #
20 20 # CDDL HEADER END
21 21 #
22 22 #
23 23 # Copyright 2004 Sun Microsystems, Inc. All rights reserved.
24 24 # Use is subject to license terms.
25 25 #
26 -# ident "%Z%%M% %I% %E% SMI"
27 -#
28 -# This makefile drives the production of the ip6 driver
29 -# kernel module.
30 -#
31 -# intel implementation architecture dependent
32 -#
26 +# Copyright (c) 2018, Joyent, Inc.
33 27
34 28 #
35 29 # Path to the base of the uts directory tree (usually /usr/src/uts).
36 30 #
37 31 UTSBASE = ../..
38 32
39 33 #
40 34 # Define the module and object file sets.
41 35 #
42 36 MODULE = ip6
43 37 OBJECTS = $(IP6_OBJS:%=$(OBJS_DIR)/%)
44 38 LINTS = $(IP6_OBJS:%.o=$(LINTS_DIR)/%.ln)
45 39 ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
46 40 CONF_SRCDIR = $(UTSBASE)/common/inet/ip
47 41
48 42 #
49 43 # Include common rules.
50 44 #
51 45 include $(UTSBASE)/intel/Makefile.intel
52 46
53 47 #
54 48 # Define targets
↓ open down ↓ |
12 lines elided |
↑ open up ↑ |
55 49 #
56 50 ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
57 51 LINT_TARGET = $(MODULE).lint
58 52 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
59 53
60 54 #
61 55 # depends on ip
62 56 #
63 57 LDFLAGS += -dy -Ndrv/ip
64 58
59 +# needs work
60 +$(OBJS_DIR)/ip6ddi.o := SMOFF += index_overflow
61 +
65 62 #
66 63 # Default build targets.
67 64 #
68 65 .KEEP_STATE:
69 66
70 67 def: $(DEF_DEPS)
71 68
72 69 all: $(ALL_DEPS)
73 70
74 71 clean: $(CLEAN_DEPS)
75 72
76 73 clobber: $(CLOBBER_DEPS)
77 74
78 75 lint: $(LINT_DEPS)
79 76
80 77 modlintlib: $(MODLINTLIB_DEPS)
81 78
82 79 clean.lint: $(CLEAN_LINT_DEPS)
83 80
84 81 install: $(INSTALL_DEPS)
85 82
86 83 #
87 84 # Include common targets.
88 85 #
89 86 include $(UTSBASE)/intel/Makefile.targ
↓ open down ↓ |
15 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX