Print this page
10077 usr/src/uts/ Makefile changes for smatch
*** 22,32 ****
# uts/intel/ac97/Makefile
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
! # This makefile drives the production of the ac97 support module.
#
#
# Path to the base of the uts directory tree (usually /usr/src/uts).
#
--- 22,32 ----
# uts/intel/ac97/Makefile
#
# Copyright 2009 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).
#
*** 52,61 ****
--- 52,64 ----
LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
LDFLAGS += -dy -Ndrv/audio
+ # needs work
+ $(OBJS_DIR)/ac97.o := SMOFF += index_overflow
+
#
# Default build targets.
#
.KEEP_STATE: