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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/pmcs/Makefile
          +++ new/usr/src/uts/intel/pmcs/Makefile
↓ open down ↓ 12 lines elided ↑ open up ↑
  13   13  # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  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  #
  23      -#
  24      -#       This makefile drives the production of the pmcs driver kernel module.
  25      -#
  26      -#       intel architecture dependent
  27      -#
       23 +# Copyright (c) 2018, Joyent, Inc.
  28   24  
  29   25  #
  30   26  #       Paths to the base of the uts directory trees
  31   27  #
  32   28  UTSBASE   = ../../../../src/uts
  33   29  
  34   30  #
  35   31  #       Define the module and object file sets.
  36   32  #
  37   33  MODULE          = pmcs
↓ open down ↓ 27 lines elided ↑ open up ↑
  65   61  CPPFLAGS        += $(PMCS_DRV_FLGS) \
  66   62          -DPMCS_FIRMWARE_VERSION=${PMCS_FW_VERSION} \
  67   63          -DPMCS_FIRMWARE_VERSION_STRING=\"${PMCS_FW_VERSION_STRING}\"
  68   64  
  69   65  CERRWARN        += -_gcc=-Wno-switch
  70   66  CERRWARN        += -_gcc=-Wno-uninitialized
  71   67  CERRWARN        += -_gcc=-Wno-unused-value
  72   68  CERRWARN        += -_gcc=-Wno-unused-label
  73   69  CERRWARN        += -_gcc=-Wno-parentheses
  74   70  
       71 +# needs work
       72 +SMATCH=off
  75   73  
  76   74  #
  77   75  #       Default build targets.
  78   76  #
  79   77  .KEEP_STATE:
  80   78  
  81   79  all:            $(ALL_DEPS)
  82   80  
  83   81  def:            $(DEF_DEPS)
  84   82  
↓ open down ↓ 16 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX