Print this page
10077 usr/src/uts/ Makefile changes for smatch
*** 21,30 ****
--- 21,31 ----
#
# 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,60 ****
--- 57,64 ----
# 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