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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/ipf/Makefile
          +++ new/usr/src/uts/intel/ipf/Makefile
↓ open down ↓ 14 lines elided ↑ open up ↑
  15   15  # If applicable, add the following below this CDDL HEADER, with the
  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  # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
  23   23  # Use is subject to license terms.
  24   24  #
  25      -# uts/intel/ipf/Makefile
  26      -#
  27      -#       This makefile drives the production of the ipf driver 
  28      -#       kernel module.
  29      -#
  30      -#       intel architecture dependent
  31      -#
       25 +# Copyright (c) 2018, Joyent, Inc.
  32   26  
  33   27  #
  34   28  #       Path to the base of the uts directory tree (usually /usr/src/uts).
  35   29  #
  36   30  UTSBASE = ../..
  37   31  
  38   32  #
  39   33  #       Define the module and object file sets.
  40   34  #
  41   35  MODULE          = ipf
↓ open down ↓ 29 lines elided ↑ open up ↑
  71   65  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  72   66  LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  73   67  LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  74   68  
  75   69  CERRWARN        += -_gcc=-Wno-unused-function
  76   70  CERRWARN        += -_gcc=-Wno-unused-variable
  77   71  CERRWARN        += -_gcc=-Wno-parentheses
  78   72  CERRWARN        += -_gcc=-Wno-uninitialized
  79   73  CERRWARN        += -_gcc=-Wno-empty-body
  80   74  
       75 +# needs work
       76 +SMATCH=off
       77 +
  81   78  #
  82   79  #       Default build targets.
  83   80  #
  84   81  .KEEP_STATE:
  85   82  
  86   83  def:            $(DEF_DEPS)
  87   84  
  88   85  all:            $(ALL_DEPS) $(SISCHECK_DEPS)
  89   86  
  90   87  clean:          $(CLEAN_DEPS) $(SISCLEAN_DEPS)
↓ open down ↓ 15 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX