summaryrefslogtreecommitdiff
path: root/usr/src/uts/intel/ip/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/intel/ip/Makefile')
-rw-r--r--usr/src/uts/intel/ip/Makefile19
1 files changed, 3 insertions, 16 deletions
diff --git a/usr/src/uts/intel/ip/Makefile b/usr/src/uts/intel/ip/Makefile
index 9cc6e5499f..490aa8c21e 100644
--- a/usr/src/uts/intel/ip/Makefile
+++ b/usr/src/uts/intel/ip/Makefile
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = ip
OBJECTS = $(IP_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(IP_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
ROOTLINK = $(ROOT_STRMOD_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/inet/ip
@@ -54,7 +53,6 @@ include $(UTSBASE)/intel/Makefile.intel
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
CINLINEFLAGS = -xinline=tcp_set_ws_value
@@ -88,7 +86,7 @@ INC_PATH += -I$(UTSBASE)/common/io/bpf
# swrand as it needs random numbers early on during boot before
# kCF subsystem can load swrand.
#
-LDFLAGS += -dy -Nmisc/md5 -Ncrypto/swrand -Nmisc/hook -Nmisc/neti
+LDFLAGS += -Nmisc/md5 -Ncrypto/swrand -Nmisc/hook -Nmisc/neti
#
# Depends on the congestion control framework for TCP connections.
@@ -97,16 +95,10 @@ LDFLAGS += -dy -Nmisc/md5 -Ncrypto/swrand -Nmisc/hook -Nmisc/neti
LDFLAGS += -N misc/cc -N cc/cc_sunreno -N cc/cc_newreno -N cc/cc_cubic
#
-# 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_SUSPICIOUS_COMPARISON
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
-LINTTAGS += -erroff=E_STATIC_UNUSED
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
#
# Default build targets.
@@ -123,11 +115,6 @@ clean: $(CLEAN_DEPS) $(SISCLEAN_DEPS)
clobber: $(CLOBBER_DEPS) $(SISCLEAN_DEPS) \
clobber.obj64 clobber.debug64
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
install: $(INSTALL_DEPS) $(SISCHECK_DEPS)