Print this page
11528 Makefile.noget can get gone
11529 Use -Wno-maybe-initialized
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/psm/stand/cpr/sparcv9/sun4u/Makefile
+++ new/usr/src/psm/stand/cpr/sparcv9/sun4u/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.
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 1995-1999,2002-2003 Sun Microsystems, Inc. All rights reserved.
24 24 # Use is subject to license terms.
25 25 #
26 26
27 27 TOPDIR = ../../../../..
28 28
29 29 # override global macros as necessary
30 30 TARGET_ARCH = sun4u
31 31 TARG_MACH = sparcv9
32 32 ARCH = sun4u
33 33 MACH = sparc
34 34 MMU = sfmmu
35 35 ARCHVER = v9
36 36 PROMTYPE = ieee1275
37 37 ARCH_PROMDIR = $(TARG_MACH)/$(PROMTYPE)/common
38 38 PROMIFDIR = $(TOPDIR)/psm/stand/lib/promif
39 39 PLATLIBDIR = $(PROMIFDIR)/$(TARG_MACH)/$(PROMTYPE)/$(TARGET_ARCH)
40 40 PLATLIB = $(PLATLIBDIR)/libplat.a
41 41 LDLIBS = -L$(PLATLIBDIR) -lplat
↓ open down ↓ |
41 lines elided |
↑ open up ↑ |
42 42 SALIBS = $(PLATLIB)
43 43 LINTLIBS = $(PLATLIBDIR)/llib-lplat.ln
44 44
45 45 CPRBOOTOBJ = cb_srt0.o cprboot.o machdep.o pages.o bitmap.o util.o
46 46
47 47 ALL = cprboot
48 48
49 49 include ../../common/Makefile.com
50 50 include $(TOPDIR)/psm/Makefile.psm.64
51 51 CFLAGS64 += -xchip=ultra $(CCABS32)
52 -CERRWARN += -_gcc=-Wno-uninitialized
52 +CERRWARN += $(CNOWARN_UNINIT)
53 53
54 54 .KEEP_STATE:
55 55
56 56 STANDDIR = $(TOPDIR)/stand
57 57 CPPINCS += -I$(STANDDIR)
58 58
59 59 #
60 60 # Cross-reference customization: build a cross-reference over all of
61 61 # the sun4u-related CPR source files.
62 62 #
63 63 XRDIRS += ../../common \
64 64 $(STANDDIR)/lib $(STANDDIR)/sys \
65 65 ../../../../promif/ieee1275 \
66 66 $(TOPDIR)/uts/common/os/compress.c \
67 67 $(TOPDIR)/uts/common/sys/cpr.h \
68 68 $(TOPDIR)/uts/sun4u/sys/cpr_impl.h
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX