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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/i86pc/i86hvm/Makefile.i86hvm
          +++ new/usr/src/uts/i86pc/i86hvm/Makefile.i86hvm
↓ open down ↓ 15 lines elided ↑ open up ↑
  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  #
  23   23  # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  24   24  # Use is subject to license terms.
  25   25  #
       26 +# Copyright (c) 2018, Joyent, Inc.
  26   27  
  27   28  ROOT_HVM_DIR            = $(ROOT_PLAT_DIR)/i86hvm
  28   29  ROOT_HVM_MOD_DIR        = $(ROOT_HVM_DIR)/kernel
  29   30  ROOT_HVM_DRV_DIR_32     = $(ROOT_HVM_MOD_DIR)/drv
  30   31  ROOT_HVM_DRV_DIR_64     = $(ROOT_HVM_MOD_DIR)/drv/$(MACH64)
  31   32  ROOT_HVM_DRV_DIR        = $(ROOT_HVM_DRV_DIR_$(CLASS))
  32   33  ROOT_HVM_MISC_DIR_32    = $(ROOT_HVM_MOD_DIR)/misc
  33   34  ROOT_HVM_MISC_DIR_64    = $(ROOT_HVM_MOD_DIR)/misc/$(MACH64)
  34   35  ROOT_HVM_MISC_DIR       = $(ROOT_HVM_MISC_DIR_$(CLASS))
  35   36  USR_HVM_DIR             = $(USR_PLAT_DIR)/i86hvm
↓ open down ↓ 15 lines elided ↑ open up ↑
  51   52  
  52   53  LINTS_DIR       = $(OBJS_DIR)
  53   54  LINT_LIB_DIR    = $(UTSBASE)/$(PLATFORM)/lint-libs/$(OBJS_DIR)
  54   55  
  55   56  #
  56   57  # Indicate that we are building for the i86hvm semi-platform.
  57   58  # Also use Solaris specific code in xen public header files.
  58   59  #
  59   60  CPPFLAGS        += -DXPV_HVM_DRIVER -D_SOLARIS
  60   61  ASFLAGS         += -DXPV_HVM_DRIVER
       62 +
       63 +# needs work
       64 +SMATCH=off
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX