Print this page
10077 usr/src/uts/ Makefile changes for smatch
*** 19,31 ****
# CDDL HEADER END
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
! # This makefile drives the production of the TPM driver kernel
! # module.
! #
UTSBASE = $(SRC)/uts
#
# Define the module and object file sets.
--- 19,29 ----
# CDDL HEADER END
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
! # Copyright (c) 2018, Joyent, Inc.
UTSBASE = $(SRC)/uts
#
# Define the module and object file sets.
*** 63,72 ****
--- 61,73 ----
# This is for /usr/include/tss/, which is not built in the ON consolidation
CPPFLAGS += -I$(ADJUNCT_PROTO)/usr/include
CERRWARN += -_gcc=-Wno-parentheses
+ # needs work
+ $(OBJS_DIR)/tpm.o := SMOFF += index_overflow
+
#
# Default build targets.
#
.KEEP_STATE: