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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/i86pc/dr/Makefile
          +++ new/usr/src/uts/i86pc/dr/Makefile
↓ open down ↓ 17 lines elided ↑ open up ↑
  18   18  #
  19   19  # CDDL HEADER END
  20   20  #
  21   21  #
  22   22  # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  23   23  # Use is subject to license terms.
  24   24  #
  25   25  # Copyright (c) 2010, Intel Corporation.
  26   26  # All rights reserved.
  27   27  #
  28      -#       This makefile drives the production of the dr driver module.
  29      -#
  30      -#       i86pc architecture dependent
  31      -#
       28 +# Copyright (c) 2018, Joyent, Inc.
  32   29  
  33   30  #
  34   31  #       Path to the base of the uts directory tree (usually /usr/src/uts).
  35   32  #
  36   33  UTSBASE = ../..
  37   34  PLATFORM = i86pc
  38   35  
  39   36  #
  40   37  #       Define the module and object file sets.
  41   38  #
↓ open down ↓ 23 lines elided ↑ open up ↑
  65   62  
  66   63  #
  67   64  # lint pass one enforcement
  68   65  #
  69   66  CFLAGS += $(CCVERBOSE)
  70   67  
  71   68  CERRWARN += -_gcc=-Wno-parentheses
  72   69  CERRWARN += -_gcc=-Wno-uninitialized
  73   70  CERRWARN += -_gcc=-Wno-empty-body
  74   71  
       72 +# needs work
       73 +SMOFF += index_overflow
       74 +
  75   75  #
  76   76  # module dependencies
  77   77  #
  78   78  LDFLAGS += -dy -Nmisc/drmach_acpi
  79   79   
  80   80  CLEANFILES +=   $(DR_GENERR)
  81   81  CLEANFILES +=   $(DR_IO)/dr_err.c
  82   82  
  83   83  #
  84   84  #       Default build targets.
↓ open down ↓ 23 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX