Print this page
10077 usr/src/uts/ Makefile changes for smatch
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/uts/intel/timerfd/Makefile
+++ new/usr/src/uts/intel/timerfd/Makefile
1 1 #
2 2 # This file and its contents are supplied under the terms of the
↓ open down ↓ |
2 lines elided |
↑ open up ↑ |
3 3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 4 # You may only use this file in accordance with the terms of version
5 5 # 1.0 of the CDDL.
6 6 #
7 7 # A full copy of the text of the CDDL should have accompanied this
8 8 # source. A copy of the CDDL is also available via the Internet at
9 9 # http://www.illumos.org/license/CDDL.
10 10 #
11 11
12 12 #
13 -# Copyright (c) 2015 Joyent, Inc. All rights reserved.
13 +# Copyright (c) 2018, Joyent, Inc.
14 14 #
15 15
16 16 #
17 17 # Path to the base of the uts directory tree (usually /usr/src/uts).
18 18 #
19 19 UTSBASE = ../..
20 20
21 21 #
22 22 # Define the module and object file sets.
23 23 #
24 24 MODULE = timerfd
25 25 OBJECTS = $(TIMERFD_OBJS:%=$(OBJS_DIR)/%)
26 26 LINTS = $(TIMERFD_OBJS:%.o=$(LINTS_DIR)/%.ln)
↓ open down ↓ |
3 lines elided |
↑ open up ↑ |
27 27 ROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
28 28 CONF_SRCDIR = $(UTSBASE)/common/io
29 29
30 30 #
31 31 # Include common rules.
32 32 #
33 33 include $(UTSBASE)/intel/Makefile.intel
34 34
35 35 CERRWARN += -_gcc=-Wno-parentheses
36 36
37 +# needs work
38 +SMOFF += all_func_returns
39 +
37 40 #
38 41 # Define targets
39 42 #
40 43 ALL_TARGET = $(BINARY) $(SRC_CONFILE)
41 44 LINT_TARGET = $(MODULE).lint
42 45 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
43 46
44 47 #
45 48 # Default build targets.
46 49 #
47 50 .KEEP_STATE:
48 51
49 52 def: $(DEF_DEPS)
50 53
51 54 all: $(ALL_DEPS)
52 55
53 56 clean: $(CLEAN_DEPS)
54 57
55 58 clobber: $(CLOBBER_DEPS)
56 59
57 60 lint: $(LINT_DEPS)
58 61
59 62 modlintlib: $(MODLINTLIB_DEPS)
60 63
61 64 clean.lint: $(CLEAN_LINT_DEPS)
62 65
63 66 install: $(INSTALL_DEPS)
64 67
65 68 #
66 69 # Include common targets.
67 70 #
68 71 include $(UTSBASE)/intel/Makefile.targ
↓ open down ↓ |
22 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX