Print this page
10077 usr/src/uts/ Makefile changes for smatch
@@ -20,15 +20,13 @@
#
# uts/intel/nxge/Makefile
#
# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
#
+# Copyright (c) 2018, Joyent, Inc.
+
#
-# This makefile drives the production of the Sun NIU
-# 10G/1G Ethernet leaf driver kernel module.
-#
-#
# Path to the base of the uts directory tree (usually /usr/src/uts).
#
UTSBASE = ../..
#
@@ -90,10 +88,13 @@
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-switch
CERRWARN += -_gcc=-Wno-uninitialized
CERRWARN += -_gcc=-Wno-type-limits
+# needs work
+SMATCH=off
+
#
# Driver depends on mac & IP
#
LDFLAGS += -dy -N misc/mac -N drv/ip