Print this page
10148 hald should skip smatch checks

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/hal/Makefile.hal
          +++ new/usr/src/cmd/hal/Makefile.hal
↓ open down ↓ 14 lines elided ↑ open up ↑
  15   15  # If applicable, add the following below this CDDL HEADER, with the
  16   16  # fields enclosed by brackets "[]" replaced with your own identifying
  17   17  # information: Portions Copyright [yyyy] [name of copyright owner]
  18   18  #
  19   19  # CDDL HEADER END
  20   20  #
  21   21  #
  22   22  # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  23   23  # Use is subject to license terms.
  24   24  #
       25 +# Copyright (c) 2018, Joyent, Inc.
       26 +#
  25   27  # Definitions common for HAL code and consumers
  26   28  #
  27   29  
  28   30  HAL_VERSION =           0.5.8
  29   31  
  30   32  ROOTLIB_HAL =           $(ROOTLIB)/hal
  31   33  ROOTLIB_HAL_SCRIPTS =   $(ROOTLIB)/hal
  32   34  
  33   35  ROOT_HAL_FDI =          $(ROOT)/etc/hal/fdi
  34   36  
↓ open down ↓ 29 lines elided ↑ open up ↑
  64   66  
  65   67  HAL_GETTEXT_PACKAGE =   $(TEXT_DOMAIN)
  66   68  
  67   69  CERRWARN +=             -_gcc=-Wno-unused-variable
  68   70  CERRWARN +=             -_gcc=-Wno-unused-label
  69   71  CERRWARN +=             -_gcc=-Wno-unused-value
  70   72  CERRWARN +=             -_gcc=-Wno-extra
  71   73  CERRWARN +=             -_gcc=-Wno-parentheses
  72   74  CERRWARN +=             -_gcc=-Wno-address
  73   75  CERRWARN +=             -_gcc=-Wno-unused-function
       76 +
       77 +# not linted
       78 +SMATCH=off
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX