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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/icmp6/Makefile
          +++ new/usr/src/uts/intel/icmp6/Makefile
↓ open down ↓ 15 lines elided ↑ open up ↑
  16   16  # If applicable, add the following below this CDDL HEADER, with the
  17   17  # fields enclosed by brackets "[]" replaced with your own identifying
  18   18  # information: Portions Copyright [yyyy] [name of copyright owner]
  19   19  #
  20   20  # CDDL HEADER END
  21   21  #
  22   22  #
  23   23  # Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
  24   24  # Use is subject to license terms.
  25   25  #
  26      -# ident "%Z%%M% %I%     %E% SMI"
  27      -#
  28      -#       This makefile drives the production of the icmp6 IP driver
  29      -#
  30      -#       intel implementation architecture dependent
  31      -#
       26 +# Copyright (c) 2018, Joyent, Inc.
  32   27  
  33   28  #
  34   29  #       Path to the base of the uts directory tree (usually /usr/src/uts).
  35   30  #
  36   31  UTSBASE = ../..
  37   32  
  38   33  #
  39   34  #       Define the module and object file sets.
  40   35  #
  41   36  MODULE          = icmp6
↓ open down ↓ 12 lines elided ↑ open up ↑
  54   49  #
  55   50  ALL_TARGET      = $(BINARY) $(SRC_CONFFILE)
  56   51  LINT_TARGET     = $(MODULE).lint
  57   52  INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  58   53  
  59   54  #
  60   55  #       depends on ip ip6 and icmp
  61   56  #
  62   57  LDFLAGS         += -dy -Ndrv/ip -Ndrv/ip6 -Ndrv/icmp
  63   58  
       59 +# needs work
       60 +$(OBJS_DIR)/icmp6ddi.o := SMOFF += index_overflow
  64   61  #
  65   62  #       Default build targets.
  66   63  #
  67   64  .KEEP_STATE:
  68   65  
  69   66  def:            $(DEF_DEPS)
  70   67  
  71   68  all:            $(ALL_DEPS)
  72   69  
  73   70  clean:          $(CLEAN_DEPS)
↓ open down ↓ 15 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX