Print this page
8626 make pcplusmp and apix warning-free
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/i86pc/pcplusmp/Makefile
          +++ new/usr/src/uts/i86pc/pcplusmp/Makefile
↓ open down ↓ 16 lines elided ↑ open up ↑
  17   17  # information: Portions Copyright [yyyy] [name of copyright owner]
  18   18  #
  19   19  # CDDL HEADER END
  20   20  #
  21   21  #
  22   22  # uts/i86pc/pcplusmp/Makefile
  23   23  #
  24   24  # Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
  25   25  # Use is subject to license terms.
  26   26  #
  27      -# Copyright 2016, Joyent, Inc.
       27 +# Copyright 2017, Joyent, Inc.
  28   28  #
  29   29  
  30   30  #
  31   31  #       This makefile drives the production of the pcplusmp "mach"
  32   32  #       kernel module.
  33   33  #
  34   34  #       pcplusmp implementation architecture dependent
  35   35  #
  36   36  
  37   37  #
↓ open down ↓ 22 lines elided ↑ open up ↑
  60   60  INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  61   61  
  62   62  DEBUG_FLGS      =
  63   63  $(NOT_RELEASE_BUILD)DEBUG_DEFS  += $(DEBUG_FLGS)
  64   64  
  65   65  #
  66   66  # Depends on ACPI CA interpreter
  67   67  #
  68   68  LDFLAGS         += -dy -N misc/acpica
  69   69  
  70      -CERRWARN        += -_gcc=-Wno-unused-function
  71      -
  72   70  #
  73      -# For now, disable these lint checks; maintainers should endeavor
  74      -# to investigate and remove these for maximum lint coverage.
  75      -# Please do not carry these forward to new Makefiles.
  76      -#
  77      -LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  78      -LINTTAGS        += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
  79      -LINTTAGS        += -erroff=E_STATIC_UNUSED
  80      -LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  81      -
  82      -CERRWARN        += -_gcc=-Wno-uninitialized
  83      -
  84      -#
  85   71  #       Default build targets.
  86   72  #
  87   73  .KEEP_STATE:
  88   74  
  89   75  def:            $(DEF_DEPS)
  90   76  
  91   77  all:            $(ALL_DEPS)
  92   78  
  93   79  clean:          $(CLEAN_DEPS)
  94   80  
↓ open down ↓ 15 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX