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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/timod/Makefile
          +++ new/usr/src/uts/intel/timod/Makefile
↓ open down ↓ 16 lines elided ↑ open up ↑
  17   17  # information: Portions Copyright [yyyy] [name of copyright owner]
  18   18  #
  19   19  # CDDL HEADER END
  20   20  #
  21   21  #
  22   22  # uts/intel/timod/Makefile
  23   23  #
  24   24  # Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
  25   25  # Use is subject to license terms.
  26   26  #
  27      -#ident  "%Z%%M% %I%     %E% SMI"
  28      -#
  29      -#       This makefile drives the production of the timod streams kernel
  30      -#       module.
  31      -#
  32      -#       intel architecture dependent
  33      -#
       27 +# Copyright (c) 2018, Joyent, Inc.
  34   28  
  35   29  #
  36   30  #       Path to the base of the uts directory tree (usually /usr/src/uts).
  37   31  #
  38   32  UTSBASE = ../..
  39   33  
  40   34  #
  41   35  #       Define the module and object file sets.
  42   36  #
  43   37  MODULE          = timod
↓ open down ↓ 14 lines elided ↑ open up ↑
  58   52  INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  59   53  
  60   54  #
  61   55  # For now, disable these lint checks; maintainers should endeavor
  62   56  # to investigate and remove these for maximum lint coverage.
  63   57  # Please do not carry these forward to new Makefiles.
  64   58  #
  65   59  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  66   60  LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  67   61  
       62 +# needs work
       63 +SMOFF += indenting
       64 +
  68   65  #
  69   66  #       Default build targets.
  70   67  #
  71   68  .KEEP_STATE:
  72   69  
  73   70  def:            $(DEF_DEPS)
  74   71  
  75   72  all:            $(ALL_DEPS)
  76   73  
  77   74  clean:          $(CLEAN_DEPS)
↓ open down ↓ 15 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX