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

@@ -20,15 +20,11 @@
 #
 #
 # Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-# uts/intel/ibcm/Makefile
-#
-#       This makefile drives the production of the ibcm kernel
-#       module. SPARC architecture dependent
-#
+# Copyright (c) 2018, Joyent, Inc.
 
 #
 #       Path to the base of the uts directory tree (usually /usr/src/uts).
 #
 UTSBASE = ../..

@@ -68,10 +64,13 @@
 CERRWARN        += -_gcc=-Wno-unused-label
 CERRWARN        += -_gcc=-Wno-unused-function
 CERRWARN        += -_gcc=-Wno-uninitialized
 CERRWARN        += -_gcc=-Wno-unused-value
 
+# needs work
+SMATCH=off
+
 #
 #       depends on misc/ibtl and misc/ibmf
 #
 LDFLAGS += -dy -Nmisc/ibtl -Nmisc/ibmf -Ndrv/ip