Print this page
10077 usr/src/uts/ Makefile changes for smatch
*** 23,39 ****
# uts/i86xpv/xnf/Makefile
#
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
! # ident "%Z%%M% %I% %E% SMI"
! #
! # This makefile drives the production of the xve
! # network driver kernel module.
! #
! # i86xpv architecture dependent
! #
#
# Path to the base of the uts directory tree (usually /usr/src/uts).
#
UTSBASE = ../..
--- 23,33 ----
# uts/i86xpv/xnf/Makefile
#
# Copyright 2007 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).
#
UTSBASE = ../..
*** 71,80 ****
--- 65,77 ----
LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
+ # needs work
+ SMATCH=off
+
#
# Default build targets.
#
.KEEP_STATE: