Print this page
10080 smatch Makefile changes for usr/src/cmd
*** 20,30 ****
#
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
! # cmd/modload/Makefile.com
#
# makefile for loadable module utilities
DRVPROG = add_drv rem_drv update_drv
MODPROG = modinfo modunload modload
--- 20,30 ----
#
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
! # Copyright (c) 2018, Joyent, Inc.
#
# makefile for loadable module utilities
DRVPROG = add_drv rem_drv update_drv
MODPROG = modinfo modunload modload
*** 59,68 ****
--- 59,71 ----
LINT_PROG= $(PROG:%=lint_%.c)
LINTFLAGS += -erroff=E_NAME_DEF_NOT_USED2
CERRWARN += -_gcc=-Wno-parentheses
+ # not linted
+ SMATCH=off
+
# install specifics
$(ROOTDRVPROG) := FILEMODE = 0555
add_drv := LDLIBS += -ldevinfo -lelf