Print this page
10077 usr/src/uts/ Makefile changes for smatch
*** 20,34 ****
#
#
# 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
! #
#
# Path to the base of the uts directory tree (usually /usr/src/uts).
#
UTSBASE = ../..
--- 20,30 ----
#
#
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
! # Copyright (c) 2018, Joyent, Inc.
#
# Path to the base of the uts directory tree (usually /usr/src/uts).
#
UTSBASE = ../..
*** 68,77 ****
--- 64,76 ----
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