Print this page
11528 Makefile.noget can get gone
11529 Use -Wno-maybe-initialized
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/uts/sparc/efe/Makefile
+++ new/usr/src/uts/sparc/efe/Makefile
1 1 #
2 2 # This file and its contents are supplied under the terms of the
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 13 # Path to the base of the uts directory tree (usually /usr/src/uts).
14 14 #
15 15 UTSBASE = ../..
16 16
17 17 #
18 18 # Define the module and object file sets.
19 19 #
20 20 MODULE = efe
21 21 OBJECTS = $(EFE_OBJS:%=$(OBJS_DIR)/%)
22 22 LINTS = $(EFE_OBJS:%.o=$(LINTS_DIR)/%.ln)
23 23 ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
24 24
25 25 #
26 26 # Include common rules.
27 27 #
28 28 include $(UTSBASE)/sparc/Makefile.sparc
29 29
30 30 #
31 31 # Define targets.
32 32 #
↓ open down ↓ |
32 lines elided |
↑ open up ↑ |
33 33 ALL_TARGET = $(BINARY)
34 34 LINT_TARGET = $(MODULE).lint
35 35 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
36 36
37 37 #
38 38 # Driver flags.
39 39 #
40 40 CFLAGS += $(CCVERBOSE)
41 41 LDFLAGS += -dy -N misc/mac -N misc/mii
42 42
43 -CERRWARN += -_gcc=-Wno-uninitialized
43 +CERRWARN += $(CNOWARN_UNINIT)
44 44
45 45 #
46 46 # Default build targets.
47 47 #
48 48 .KEEP_STATE:
49 49
50 50 def: $(DEF_DEPS)
51 51
52 52 all: $(ALL_DEPS)
53 53
54 54 clean: $(CLEAN_DEPS)
55 55
56 56 clobber: $(CLOBBER_DEPS)
57 57
58 58 lint: $(LINT_DEPS)
59 59
60 60 modlintlib: $(MODLINTLIB_DEPS)
61 61
62 62 clean.lint: $(CLEAN_LINT_DEPS)
63 63
64 64 install: $(INSTALL_DEPS)
65 65
66 66 #
67 67 # Include common targets.
68 68 #
69 69 include $(UTSBASE)/sparc/Makefile.targ
↓ open down ↓ |
16 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX