summaryrefslogtreecommitdiff
path: root/usr/src/uts/sparc/pcieb/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/sparc/pcieb/Makefile')
-rw-r--r--usr/src/uts/sparc/pcieb/Makefile26
1 files changed, 5 insertions, 21 deletions
diff --git a/usr/src/uts/sparc/pcieb/Makefile b/usr/src/uts/sparc/pcieb/Makefile
index 9e2785998d..817f75bf76 100644
--- a/usr/src/uts/sparc/pcieb/Makefile
+++ b/usr/src/uts/sparc/pcieb/Makefile
@@ -37,9 +37,8 @@ UTSBASE = ../..
#
# Define the module and object file sets.
#
-MODULE = pcieb
+MODULE = pcieb
OBJECTS = $(PCIEB_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(PCIEB_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/pciex/
@@ -52,22 +51,15 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
-# lint pass one enforcement
-#
-CFLAGS += $(CCVERBOSE)
-
-#
# Turn on doubleword alignment for 64 bit registers
#
CFLAGS += -dalign
#
-# Enable PLX workaround code and lint duplicate symbol
-# avoidance hack
+# Enable PLX workaround code
#
CPPFLAGS += -DPX_PLX
@@ -77,13 +69,11 @@ CPPFLAGS += -DPX_PLX
LDFLAGS += -dy -Nmisc/pcie
#
-# 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_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_STATIC_UNUSED
-
+CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-unused-value
CERRWARN += -_gcc=-Wno-unused-variable
@@ -100,12 +90,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#