summaryrefslogtreecommitdiff
path: root/usr/src/uts/intel/nxge/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/intel/nxge/Makefile')
-rw-r--r--usr/src/uts/intel/nxge/Makefile27
1 files changed, 2 insertions, 25 deletions
diff --git a/usr/src/uts/intel/nxge/Makefile b/usr/src/uts/intel/nxge/Makefile
index f344535e90..d06416fad2 100644
--- a/usr/src/uts/intel/nxge/Makefile
+++ b/usr/src/uts/intel/nxge/Makefile
@@ -22,7 +22,7 @@
#
# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
#
-# Copyright (c) 2018, Joyent, Inc.
+# Copyright 2020 Joyent, Inc.
#
# Path to the base of the uts directory tree (usually /usr/src/uts).
@@ -35,7 +35,6 @@ UTSBASE = ../..
MODULE = nxge
NXGE_OBJECTS = $(NXGE_OBJS) $(NXGE_NPI_OBJS)
OBJECTS = $(NXGE_OBJECTS:%=$(OBJS_DIR)/%)
-LINTS = $(NXGE_OBJECTS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/nxge
@@ -55,7 +54,6 @@ CLEANFILES += $(MODSTUBS_O)
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -66,29 +64,14 @@ INC_PATH += -I$(UTSBASE)/common/io/nxge/npi
INC_PATH += -I$(UTSBASE)/common/sys/nxge
INC_PATH += -I$(UTSBASE)/sun4v
#
-#
-# lint pass one enforcement
-#
CFLAGS += -DSOLARIS
-#
-#ALL_BUILDS = $(ALL_BUILDS64)
-#DEF_BUILDS = $(DEF_BUILDS64)
-#CLEANLINTFILES += $(LINT64_FILES)
-#
-LINTFLAGS += -DSOLARIS
-#
-# STREAMS, DDI API limitations and other ON header file definitions such as ethernet.h
-# force us to turn off these lint checks.
-#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_FALSE_LOGICAL_EXPR
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-switch
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-type-limits
+CERRWARN += -_gcc9=-Wno-address-of-packed-member
# needs work
SMATCH=off
@@ -111,12 +94,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#