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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/intel_nb5000/Makefile
          +++ new/usr/src/uts/intel/intel_nb5000/Makefile
↓ open down ↓ 13 lines elided ↑ open up ↑
  14   14  # If applicable, add the following below this CDDL HEADER, with the
  15   15  # fields enclosed by brackets "[]" replaced with your own identifying
  16   16  # information: Portions Copyright [yyyy] [name of copyright owner]
  17   17  #
  18   18  # CDDL HEADER END
  19   19  #
  20   20  # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  21   21  # Use is subject to license terms.
  22   22  # Copyright (c) 2011 Bayard G. Bell. All rights reserved.
  23   23  #
       24 +# Copyright (c) 2018, Joyent, Inc.
  24   25  
  25   26  #
  26   27  # Intel 5000/5100/5400/7300 chipset memory controller hub (MCH) module
  27   28  #
  28   29  
  29   30  #
  30   31  #       Path to the base of the uts directory tree (usually /usr/src/uts).
  31   32  #
  32   33  UTSBASE = ../..
  33   34  
↓ open down ↓ 22 lines elided ↑ open up ↑
  56   57  INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  57   58  
  58   59  #
  59   60  # Depends on smbios
  60   61  #
  61   62  LDFLAGS         += -dy -N drv/smbios
  62   63  
  63   64  CERRWARN        += -_gcc=-Wno-parentheses
  64   65  CERRWARN        += -_gcc=-Wno-uninitialized
  65   66  
       67 +# needs work
       68 +SMATCH=off
       69 +
  66   70  #
  67   71  #       Default build targets.
  68   72  #
  69   73  .KEEP_STATE:
  70   74  
  71   75  def:            $(DEF_DEPS)
  72   76  
  73   77  all:            $(ALL_DEPS)
  74   78  
  75   79  clean:          $(CLEAN_DEPS)
↓ open down ↓ 17 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX