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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/nfs/Makefile
          +++ new/usr/src/uts/intel/nfs/Makefile
↓ open down ↓ 17 lines elided ↑ open up ↑
  18   18  #
  19   19  # CDDL HEADER END
  20   20  #
  21   21  #
  22   22  # uts/intel/nfs/Makefile
  23   23  #
  24   24  # Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
  25   25  # Use is subject to license terms.
  26   26  # Copyright (c) 2011 Bayard G. Bell. All rights reserved.
  27   27  #
  28      -#       This makefile drives the production of the nfs file system
  29      -#       kernel module.
  30      -#
  31      -#       intel implementation architecture dependent
  32      -#
       28 +# Copyright (c) 2018, Joyent, Inc.
  33   29  
  34   30  #
  35   31  #       Path to the base of the uts directory tree (usually /usr/src/uts).
  36   32  #
  37   33  UTSBASE = ../..
  38   34  
  39   35  #
  40   36  #       Define the module and object file sets.
  41   37  #
  42   38  MODULE          = nfs
↓ open down ↓ 40 lines elided ↑ open up ↑
  83   79  
  84   80  CERRWARN        += -_gcc=-Wno-parentheses
  85   81  CERRWARN        += -_gcc=-Wno-unused-label
  86   82  CERRWARN        += -_gcc=-Wno-type-limits
  87   83  CERRWARN        += -_gcc=-Wno-uninitialized
  88   84  CERRWARN        += -_gcc=-Wno-switch
  89   85  CERRWARN        += -_gcc=-Wno-unused-function
  90   86  CERRWARN        += -_gcc=-Wno-unused-variable
  91   87  CERRWARN        += -_gcc=-Wno-empty-body
  92   88  
       89 +# needs work
       90 +SMATCH=off
       91 +
  93   92  #
  94   93  #       Default build targets.
  95   94  #
  96   95  .KEEP_STATE:
  97   96  
  98   97  def:            $(DEF_DEPS)
  99   98  
 100   99  all:            $(ALL_DEPS)
 101  100  
 102  101  clean:          $(CLEAN_DEPS)
↓ open down ↓ 18 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX