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

@@ -21,10 +21,11 @@
 
 #
 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 ROOT_HVM_DIR            = $(ROOT_PLAT_DIR)/i86hvm
 ROOT_HVM_MOD_DIR        = $(ROOT_HVM_DIR)/kernel
 ROOT_HVM_DRV_DIR_32     = $(ROOT_HVM_MOD_DIR)/drv
 ROOT_HVM_DRV_DIR_64     = $(ROOT_HVM_MOD_DIR)/drv/$(MACH64)

@@ -56,5 +57,8 @@
 # Indicate that we are building for the i86hvm semi-platform.
 # Also use Solaris specific code in xen public header files.
 #
 CPPFLAGS        += -DXPV_HVM_DRIVER -D_SOLARIS
 ASFLAGS         += -DXPV_HVM_DRIVER
+
+# needs work
+SMATCH=off