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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/tavor/Makefile
          +++ new/usr/src/uts/intel/tavor/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 2008 Sun Microsystems, Inc.  All rights reserved.
  24   24  # Use is subject to license terms.
  25   25  #
  26      -#       This makefile drives the production of the tavor InfiniBand module
  27      -#
  28      -#       intel architecture dependent
  29      -#
  30      -# uts/intel/tavor/Makefile
  31      -#
       26 +# Copyright (c) 2018, Joyent, Inc.
  32   27  
  33   28  #
  34   29  #       Paths to the base of the uts directory trees
  35   30  #
  36   31  UTSBASE = ../..
  37   32  
  38   33  #
  39   34  #       Define the module and object file sets.
  40   35  #
  41   36  MODULE          = tavor
↓ open down ↓ 37 lines elided ↑ open up ↑
  79   74  #
  80   75  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  81   76  LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  82   77  LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  83   78  
  84   79  CERRWARN        += -_gcc=-Wno-unused-value
  85   80  CERRWARN        += -_gcc=-Wno-unused-label
  86   81  CERRWARN        += -_gcc=-Wno-uninitialized
  87   82  CERRWARN        += -_gcc=-Wno-type-limits
  88   83  
       84 +# needs work
       85 +SMATCH=off
       86 +
  89   87  #
  90   88  #       Default build targets.
  91   89  #
  92   90  .KEEP_STATE:
  93   91  
  94   92  def:            $(DEF_DEPS)
  95   93  
  96   94  all:            $(ALL_DEPS)
  97   95  
  98   96  clean:          $(CLEAN_DEPS)
↓ open down ↓ 15 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX