summaryrefslogtreecommitdiff
path: root/usr/src/uts/sparc/rdsv3/Makefile
diff options
context:
space:
mode:
authorRichard Lowe <richlowe@richlowe.net>2020-10-23 14:17:59 -0400
committerRichard Lowe <richlowe@richlowe.net>2020-12-16 16:04:35 -0600
commit0aaef2f550fa500248f59b0b8a14225b5afbd198 (patch)
tree386f628ec5125b1d768e18877e1df61898f8466a /usr/src/uts/sparc/rdsv3/Makefile
parent1a5f1879be09d3de900b2510692dd12003784d84 (diff)
downloadillumos-joyent-0aaef2f550fa500248f59b0b8a14225b5afbd198.tar.gz
13258 remove lint from the uts build
Reviewed by: Andy Fiddaman <andy@omniosce.org> Reviewed by: Jason King <jason.brian.king+illumos@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/uts/sparc/rdsv3/Makefile')
-rw-r--r--usr/src/uts/sparc/rdsv3/Makefile34
1 files changed, 6 insertions, 28 deletions
diff --git a/usr/src/uts/sparc/rdsv3/Makefile b/usr/src/uts/sparc/rdsv3/Makefile
index 42218769c8..d46f687574 100644
--- a/usr/src/uts/sparc/rdsv3/Makefile
+++ b/usr/src/uts/sparc/rdsv3/Makefile
@@ -37,7 +37,6 @@ UTSBASE = ../..
#
MODULE = rdsv3
OBJECTS = $(RDSV3_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(RDSV3_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/ib/clients/rdsv3
@@ -50,37 +49,22 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
-# lint pass one enforcement and OS version
+# Disable these warnings since some errors suppressed here are
+# in the OFED code, but we'd like to keep it as is as much as possible.
+# Note. maintainers should endeavor to investigate and remove these for
+# maximum coverage, but please do not carry these forward to new
+# Makefiles blindly.
#
-CFLAGS += $(CCVERBOSE)
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += -_gcc=-Wno-unused-function
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-parentheses
-#
-# Disable these lint checks since some errors suppressed here are
-# in the OFED code, but we'd like to keep it as is as much as possible.
-# Note. maintainers should endeavor to investigate and remove these for
-# maximum lint coverage, but please do not carry these forward to new
-# Makefiles blindly.
-#
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_CONSTANT_CONDITION
-LINTTAGS += -erroff=E_FUNC_VAR_UNUSED
-LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-LINTTAGS += -erroff=E_FUNC_SET_NOT_USED
-LINTTAGS += -erroff=E_FUNC_USED_VAR_ARG2
-LINTTAGS += -erroff=E_INCONS_ARG_USED2
-
LDFLAGS += -dy -Nfs/sockfs -Nmisc/ksocket -Ndrv/ip -Nmisc/ibtl -Nmisc/ibcm -Nmisc/sol_ofs
#
@@ -96,12 +80,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS) lint64
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
$(ROOTLINK): $(ROOT_STRMOD_DIR) $(ROOTMODULE)