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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/scsi_vhci/Makefile
          +++ new/usr/src/uts/intel/scsi_vhci/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 (c) 2018, Joyent, Inc.
  26   27  
  27   28  #
  28   29  # This makefile drives the production of SCSI vHCI Driver
  29   30  # intel architecture dependent
  30   31  #
  31   32  
  32   33  #
  33   34  #       Paths to the base of the uts directory trees
  34   35  #
  35   36  UTSBASE   = ../..
↓ open down ↓ 9 lines elided ↑ open up ↑
  45   46  
  46   47  #
  47   48  # Include common rules.
  48   49  #
  49   50  include $(UTSBASE)/intel/Makefile.intel
  50   51  
  51   52  CERRWARN        += -_gcc=-Wno-parentheses
  52   53  CERRWARN        += -_gcc=-Wno-uninitialized
  53   54  CERRWARN        += -_gcc=-Wno-unused-label
  54   55  
       56 +# needs work
       57 +SMATCH=off
       58 +
  55   59  #
  56   60  # Define targets.
  57   61  #
  58   62  ALL_TARGET      = $(BINARY) $(SRC_CONFILE)
  59   63  LINT_TARGET     = $(MODULE).lint
  60   64  INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  61   65  
  62   66  #
  63   67  # Note dependancy on misc/scsi.
  64   68  #
↓ open down ↓ 27 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX