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

@@ -19,12 +19,11 @@
 # CDDL HEADER END
 #
 #
 # Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
 #
-#       This makefile drives the production of the stmf driver for 
-#       COMSTAR.
+# Copyright (c) 2018, Joyent, Inc.
 
 #
 #       Path to the base of the uts directory tree (usually /usr/src/uts).
 #
 UTSBASE = ../..

@@ -56,10 +55,13 @@
 #       Overrides and depends_on
 #
 MODSTUBS_DIR     = $(OBJS_DIR)
 CERRWARN        += -erroff=E_STATEMENT_NOT_REACHED
 
+# needs work
+SMATCH=off
+
 C99LMODE=       -Xc99=%all
 
 #
 # For now, disable these lint checks; maintainers should endeavor
 # to investigate and remove these for maximum lint coverage.