Print this page
10077 usr/src/uts/ Makefile changes for smatch
@@ -21,11 +21,11 @@
#
# i86pc/uppc/Makefile
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# Copyright 2016 Joyent, Inc.
+# Copyright (c) 2018, Joyent, Inc.
#
# This makefile drives the production of the uppc mach
# kernel module.
#
# i86pc implementation architecture dependent
@@ -61,10 +61,13 @@
#
CERRWARN += -_gcc=-Wno-unused-function
DEBUG_FLGS =
DEBUG_DEFS += $(DEBUG_FLGS)
+# needs work
+$(OBJS_DIR)/psm_common.o := SMOFF += deref_check
+
#
# Depends on ACPI CA interpreter
#
LDFLAGS += -dy -N misc/acpica