Print this page
10077 usr/src/uts/ Makefile changes for smatch

*** 23,38 **** # uts/intel/clone/Makefile # # Copyright 2004 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # ! #pragma ident "%Z%%M% %I% %E% SMI" ! # ! # This makefile drives the production of the clone driver ! # ! # intel implementation architecture dependent ! # # # Path to the base of the uts directory tree (usually /usr/src/uts). # UTSBASE = ../.. --- 23,33 ---- # uts/intel/clone/Makefile # # Copyright 2004 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 = ../..
*** 56,65 **** --- 51,63 ---- # ALL_TARGET = $(BINARY) $(SRC_CONFILE) LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) + # needs work + $(OBJS_DIR)/clone.o := SMOFF += all_func_returns + # # Default build targets. # .KEEP_STATE: