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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/i86xpv/unix/Makefile
          +++ new/usr/src/uts/i86xpv/unix/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 +# Copyright (c) 2018, Joyent, Inc.
       27 +#
  26   28  #       This makefile drives the production of unix (and unix.o).
  27   29  #
  28   30  #       i86xpv implementation architecture dependent
  29   31  #
  30   32  
  31   33  #
  32   34  #       Path to the base of the uts directory tree (usually /usr/src/uts).
  33   35  #
  34   36  UTSBASE = ../..
  35   37  
↓ open down ↓ 105 lines elided ↑ open up ↑
 141  143  CERRWARN        += -_gcc=-Wno-uninitialized
 142  144  CERRWARN        += -_gcc=-Wno-char-subscripts
 143  145  CERRWARN        += -_gcc=-Wno-unused-variable
 144  146  CERRWARN        += -_gcc=-Wno-unused-function
 145  147  CERRWARN        += -_gcc=-Wno-unused-label
 146  148  CERRWARN        += -_gcc=-Wno-type-limits
 147  149  CERRWARN        += -_gcc=-Wno-clobbered
 148  150  CERRWARN        += -_gcc=-Wno-unused-value
 149  151  CERRWARN        += -_gcc=-Wno-empty-body
 150  152  
      153 +# needs work
      154 +SMATCH=off
      155 +
 151  156  # Ensure that lint sees 'struct cpu' containing a fully declared
 152  157  # embedded 'struct machcpu'
 153  158  #
 154  159  LINTFLAGS       += -D_MACHDEP -I../../i86pc
 155  160  
 156  161  #
 157  162  #       Default build targets.
 158  163  #
 159  164  .KEEP_STATE:
 160  165  
↓ open down ↓ 78 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX