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

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

@@ -78,10 +73,13 @@
 CERRWARN        += -_gcc=-Wno-switch
 CERRWARN        += -_gcc=-Wno-uninitialized
 CERRWARN        += -_gcc=-Wno-parentheses
 CERRWARN        += -_gcc=-Wno-unused-value
 
+# needs work
+$(OBJS_DIR)/ibtl_impl.o := SMOFF += precedence
+
 #
 #       Default build targets.
 #
 .KEEP_STATE: