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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/sata/Makefile
          +++ new/usr/src/uts/intel/sata/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 2006 Sun Microsystems, Inc.  All rights reserved.
  24   24  # Use is subject to license terms.
  25   25  #
       26 +# Copyright (c) 2018, Joyent, Inc.
  26   27  
       28 +
  27   29  #
  28   30  # uts/intel/io/sata/Makefile
  29   31  #
  30   32  #       This makefile drives the production of the sata "misc"
  31   33  #       kernel module.
  32   34  #
  33   35  #       intel architecture dependent
  34   36  #
  35   37  
  36   38  #
↓ open down ↓ 47 lines elided ↑ open up ↑
  84   86  LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  85   87  LINTTAGS        += -erroff=E_STATIC_UNUSED
  86   88  
  87   89  CERRWARN        += -_gcc=-Wno-parentheses
  88   90  CERRWARN        += -_gcc=-Wno-unused-label
  89   91  CERRWARN        += -_gcc=-Wno-unused-function
  90   92  CERRWARN        += -_gcc=-Wno-unused-variable
  91   93  CERRWARN        += -_gcc=-Wno-uninitialized
  92   94  CERRWARN        += -_gcc=-Wno-empty-body
  93   95  
       96 +# needs work
       97 +SMATCH=off
       98 +
  94   99  #
  95  100  #       Default build targets.
  96  101  #
  97  102  .KEEP_STATE:
  98  103  
  99  104  def:            $(DEF_DEPS)
 100  105  
 101  106  all:            $(ALL_DEPS)
 102  107  
 103  108  clean:          $(CLEAN_DEPS)
↓ open down ↓ 15 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX