From 0aaef2f550fa500248f59b0b8a14225b5afbd198 Mon Sep 17 00:00:00 2001 From: Richard Lowe Date: Fri, 23 Oct 2020 14:17:59 -0400 Subject: 13258 remove lint from the uts build Reviewed by: Andy Fiddaman Reviewed by: Jason King Approved by: Dan McDonald --- usr/src/uts/intel/swrand/Makefile | 22 ++++------------------ 1 file changed, 4 insertions(+), 18 deletions(-) (limited to 'usr/src/uts/intel/swrand') diff --git a/usr/src/uts/intel/swrand/Makefile b/usr/src/uts/intel/swrand/Makefile index e1abdc1536..3d61ffc942 100644 --- a/usr/src/uts/intel/swrand/Makefile +++ b/usr/src/uts/intel/swrand/Makefile @@ -39,7 +39,6 @@ COM_DIR = $(COMMONBASE)/crypto # MODULE = swrand OBJECTS = $(SWRANDPROV_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(SWRANDPROV_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_CRYPTO_DIR)/$(MODULE) INC_PATH += -I../../i86pc @@ -52,14 +51,9 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) -I$(COM_DIR) -LINTFLAGS += -I$(COM_DIR) +CFLAGS += -I$(COM_DIR) # # Linkage dependencies @@ -67,13 +61,11 @@ LINTFLAGS += -I$(COM_DIR) LDFLAGS += -dy -Nmisc/kcf -Nmisc/sha1 # -# For now, disable these lint checks; maintainers should endeavor -# to investigate and remove these for maximum lint coverage. +# For now, disable these warnings; maintainers should endeavor +# to investigate and remove these for maximum coverage. # Please do not carry these forward to new Makefiles. # -LINTTAGS += -erroff=E_STATIC_UNUSED -LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV - +CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-unused-function # @@ -89,12 +81,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # -- cgit v1.2.3