Print this page
10077 usr/src/uts/ Makefile changes for smatch

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/i86xpv/xpv_psm/Makefile
          +++ new/usr/src/uts/i86xpv/xpv_psm/Makefile
↓ open down ↓ 15 lines elided ↑ open up ↑
  16   16  # fields enclosed by brackets "[]" replaced with your own identifying
  17   17  # information: Portions Copyright [yyyy] [name of copyright owner]
  18   18  #
  19   19  # CDDL HEADER END
  20   20  #
  21   21  
  22   22  #
  23   23  # Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
  24   24  # Use is subject to license terms.
  25   25  #
  26      -# Copyright 2016 Joyent, Inc.
       26 +# Copyright (c) 2018, Joyent, Inc.
  27   27  #
  28   28  
  29   29  #
  30   30  #       This makefile drives the production of the xpv_psm mach
  31   31  #       kernel module.
  32   32  #
  33   33  #       i86xpv implementation architecture dependent
  34   34  #
  35   35  
  36   36  #
↓ open down ↓ 37 lines elided ↑ open up ↑
  74   74  LINTTAGS        += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
  75   75  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  76   76  LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  77   77  
  78   78  CERRWARN        += -_gcc=-Wno-type-limits
  79   79  CERRWARN        += -_gcc=-Wno-parentheses
  80   80  CERRWARN        += -_gcc=-Wno-uninitialized
  81   81  CERRWARN        += -_gcc=-Wno-empty-body
  82   82  CERRWARN        += -_gcc=-Wno-unused-function
  83   83  
       84 +# needs work
       85 +SMATCH=off
       86 +
  84   87  #       Default build targets.
  85   88  #
  86   89  .KEEP_STATE:
  87   90  
  88   91  def:            $(DEF_DEPS)
  89   92  
  90   93  all:            $(ALL_DEPS)
  91   94  
  92   95  clean:          $(CLEAN_DEPS)
  93   96  
↓ open down ↓ 14 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX