Print this page
10077 usr/src/uts/ Makefile changes for smatch
*** 20,34 ****
#
# uts/intel/nxge/Makefile
#
# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
- # 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 = ../..
#
--- 20,32 ----
#
# uts/intel/nxge/Makefile
#
# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
#
+ # Copyright (c) 2018, Joyent, Inc.
+
#
# Path to the base of the uts directory tree (usually /usr/src/uts).
#
UTSBASE = ../..
#
*** 90,99 ****
--- 88,100 ----
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