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