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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/clone/Makefile
          +++ new/usr/src/uts/intel/clone/Makefile
↓ open down ↓ 17 lines elided ↑ open up ↑
  18   18  # information: Portions Copyright [yyyy] [name of copyright owner]
  19   19  #
  20   20  # CDDL HEADER END
  21   21  #
  22   22  #
  23   23  # uts/intel/clone/Makefile
  24   24  #
  25   25  # Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
  26   26  # Use is subject to license terms.
  27   27  #
  28      -#pragma ident   "%Z%%M% %I%     %E% SMI"
  29      -#
  30      -#       This makefile drives the production of the clone driver
  31      -#
  32      -#       intel implementation architecture dependent
  33      -#
       28 +# Copyright (c) 2018, Joyent, Inc.
  34   29  
  35   30  #
  36   31  #       Path to the base of the uts directory tree (usually /usr/src/uts).
  37   32  #
  38   33  UTSBASE = ../..
  39   34  
  40   35  #
  41   36  #       Define the module and object file sets.
  42   37  #
  43   38  MODULE          = clone
↓ open down ↓ 7 lines elided ↑ open up ↑
  51   46  #
  52   47  include $(UTSBASE)/intel/Makefile.intel
  53   48  
  54   49  #
  55   50  #       Define targets
  56   51  #
  57   52  ALL_TARGET      = $(BINARY) $(SRC_CONFILE)
  58   53  LINT_TARGET     = $(MODULE).lint
  59   54  INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  60   55  
       56 +# needs work
       57 +$(OBJS_DIR)/clone.o := SMOFF += all_func_returns
       58 +
  61   59  #
  62   60  #       Default build targets.
  63   61  #
  64   62  .KEEP_STATE:
  65   63  
  66   64  def:            $(DEF_DEPS)
  67   65  
  68   66  all:            $(ALL_DEPS)
  69   67  
  70   68  clean:          $(CLEAN_DEPS)
↓ open down ↓ 15 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX