Print this page
10077 usr/src/uts/ Makefile changes for smatch
*** 22,32 ****
# uts/i86pc/pcplusmp/Makefile
#
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
! # Copyright 2017, Joyent, Inc.
#
#
# This makefile drives the production of the pcplusmp "mach"
# kernel module.
--- 22,32 ----
# uts/i86pc/pcplusmp/Makefile
#
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
! # Copyright (c) 2018, Joyent, Inc.
#
#
# This makefile drives the production of the pcplusmp "mach"
# kernel module.
*** 65,74 ****
--- 65,79 ----
#
# Depends on ACPI CA interpreter
#
LDFLAGS += -dy -N misc/acpica
+ # needs work
+ $(OBJS_DIR)/mp_platform_common.o := SMOFF += indenting
+ # needs work
+ $(OBJS_DIR)/psm_common.o := SMOFF += deref_check
+
#
# Default build targets.
#
.KEEP_STATE: