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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/i86xpv/xnf/Makefile
          +++ new/usr/src/uts/i86xpv/xnf/Makefile
↓ open down ↓ 17 lines elided ↑ open up ↑
  18   18  #
  19   19  # CDDL HEADER END
  20   20  #
  21   21  
  22   22  #
  23   23  # uts/i86xpv/xnf/Makefile
  24   24  #
  25   25  # Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
  26   26  # Use is subject to license terms.
  27   27  #
  28      -# ident "%Z%%M% %I%     %E% SMI"
  29      -#
  30      -#       This makefile drives the production of the xve
  31      -#       network driver kernel module.
  32      -#
  33      -#       i86xpv architecture dependent
  34      -#
       28 +# Copyright (c) 2018, Joyent, Inc.
  35   29  
  36   30  #
  37   31  #       Path to the base of the uts directory tree (usually /usr/src/uts).
  38   32  #
  39   33  UTSBASE = ../..
  40   34  
  41   35  #
  42   36  #       Define the module and object file sets.
  43   37  #
  44   38  MODULE          = xnf
↓ open down ↓ 21 lines elided ↑ open up ↑
  66   60  #
  67   61  # use Solaris specific code in xen public header files
  68   62  #
  69   63  CFLAGS          += -D_SOLARIS
  70   64  LINTFLAGS       += -D_SOLARIS
  71   65  
  72   66  LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  73   67  LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  74   68  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  75   69  
       70 +# needs work
       71 +SMATCH=off
       72 +
  76   73  #
  77   74  #       Default build targets.
  78   75  #
  79   76  .KEEP_STATE:
  80   77  
  81   78  def:            $(DEF_DEPS)
  82   79  
  83   80  all:            $(ALL_DEPS)
  84   81  
  85   82  clean:          $(CLEAN_DEPS)
↓ open down ↓ 15 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX