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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/tcp/Makefile
          +++ new/usr/src/uts/intel/tcp/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/tcp/Makefile
  23   23  #
  24   24  # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
  25   25  # Use is subject to license terms.
  26   26  #
  27      -#
  28      -#       This makefile drives the production of the tcp driver kernel module.
  29      -#
  30      -#       intel implementation architecture dependent
  31      -#
       27 +# Copyright (c) 2018, Joyent, Inc.
  32   28  
  33   29  #
  34   30  #       Path to the base of the uts directory tree (usually /usr/src/uts).
  35   31  #
  36   32  UTSBASE = ../..
  37   33  
  38   34  #
  39   35  #       Define the module and object file sets.
  40   36  #
  41   37  MODULE          = tcp
↓ open down ↓ 28 lines elided ↑ open up ↑
  70   66  #
  71   67  CINLINES        = -xinline=tcp_set_ws_value,tcp_fill_header
  72   68  
  73   69  CFLAGS          += $(CINLINES)
  74   70  
  75   71  #
  76   72  #       depends on ip, md5 and sockfs
  77   73  #
  78   74  LDFLAGS         += -dy -Ndrv/ip -Ncrypto/md5 -Nfs/sockfs
  79   75  
       76 +# needs work
       77 +$(OBJS_DIR)/tcpddi.o := SMOFF += index_overflow
       78 +
  80   79  #
  81   80  #       Default build targets.
  82   81  #
  83   82  .KEEP_STATE:
  84   83  
  85   84  def:            $(DEF_DEPS)
  86   85  
  87   86  all:            $(ALL_DEPS)
  88   87  
  89   88  clean:          $(CLEAN_DEPS)
↓ open down ↓ 18 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX