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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/mr_sas/Makefile
          +++ new/usr/src/uts/intel/mr_sas/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  # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  22   22  # Use is subject to license terms.
  23   23  #
  24   24  # uts/intel/mr_sas/Makefile
  25   25  #
  26      -#       This makefile drives the production of the mr_sas driver kernel module.
  27      -#
  28      -#       intel implementation architecture dependent
  29      -#
       26 +# Copyright (c) 2018, Joyent, Inc.
  30   27  
  31   28  #
  32   29  #       Path to the base of the uts directory tree (usually /usr/src/uts).
  33   30  #
  34   31  UTSBASE = ../..
  35   32  
  36   33  #
  37   34  #       Define the module and object file sets.
  38   35  #
  39   36  MODULE          = mr_sas
↓ open down ↓ 16 lines elided ↑ open up ↑
  56   53  
  57   54  #
  58   55  #       Kernel Module Dependencies
  59   56  #
  60   57  LDFLAGS         += -dy -Nmisc/scsi
  61   58  
  62   59  CERRWARN        += -_gcc=-Wno-unused-label
  63   60  CERRWARN        += -_gcc=-Wno-switch
  64   61  CERRWARN        += -_gcc=-Wno-uninitialized
  65   62  
       63 +# needs work
       64 +SMATCH=off
       65 +
  66   66  #
  67   67  #       Default build targets.
  68   68  #
  69   69  .KEEP_STATE:
  70   70  
  71   71  def:            $(DEF_DEPS)
  72   72  
  73   73  all:            $(ALL_DEPS)
  74   74  
  75   75  clean:          $(CLEAN_DEPS)
↓ open down ↓ 15 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX