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
↓ 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