summaryrefslogtreecommitdiff
path: root/usr/src/uts/intel/rdsv3/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/intel/rdsv3/Makefile')
-rw-r--r--usr/src/uts/intel/rdsv3/Makefile33
1 files changed, 8 insertions, 25 deletions
diff --git a/usr/src/uts/intel/rdsv3/Makefile b/usr/src/uts/intel/rdsv3/Makefile
index c389402f37..44e325f80f 100644
--- a/usr/src/uts/intel/rdsv3/Makefile
+++ b/usr/src/uts/intel/rdsv3/Makefile
@@ -33,33 +33,23 @@ UTSBASE = ../..
#
MODULE = rdsv3
OBJECTS = $(RDSV3_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(RDSV3_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
-CFLAGS += $(CCVERBOSE) $(_XPG4_2)
-LDFLAGS += -dy -Nfs/sockfs -Nmisc/ksocket -Ndrv/ip -Nmisc/ibtl -Nmisc/ibcm -Nmisc/sol_ofs
+CFLAGS += $(CCVERBOSE) $(_XPG4_2)
+LDFLAGS += -Nfs/sockfs -Nmisc/ksocket -Ndrv/ip -Nmisc/ibtl -Nmisc/ibcm -Nmisc/sol_ofs
CONF_SRCDIR = $(UTSBASE)/common/io/ib/clients/rdsv3
#
# Include common rules.
#
include $(UTSBASE)/intel/Makefile.intel
-# CFLAGS += -DOFA_SOLARIS
+# CFLAGS += -DOFA_SOLARIS
#
-# 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
-
+# 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, please
+# do not carry these forward to new Makefiles blindly.
+#
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += -_gcc=-Wno-unused-function
@@ -73,7 +63,6 @@ SMATCH=off
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -89,12 +78,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#