diff options
Diffstat (limited to 'usr/src/uts/sparc/ixgbe/Makefile')
-rw-r--r-- | usr/src/uts/sparc/ixgbe/Makefile | 23 |
1 files changed, 8 insertions, 15 deletions
diff --git a/usr/src/uts/sparc/ixgbe/Makefile b/usr/src/uts/sparc/ixgbe/Makefile index 493f91652d..3dcaeed9e3 100644 --- a/usr/src/uts/sparc/ixgbe/Makefile +++ b/usr/src/uts/sparc/ixgbe/Makefile @@ -42,7 +42,6 @@ UTSBASE = ../.. MODULE = ixgbe OBJECTS = $(IXGBE_OBJS:%=$(OBJS_DIR)/%) OBJECTS += $(IXGBE_INTC_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(IXGBE_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/ixgbe @@ -54,17 +53,10 @@ include $(UTSBASE)/sparc/Makefile.sparc INC_PATH += -I$(UTSBASE)/common/io/ixgbe INC_PATH += -I$(UTSBASE)/common/io/ixgbe/core -CERRWARN += -_gcc=-Wno-parentheses -CERRWARN += -_gcc=-Wno-switch -CERRWARN += $(CNOWARN_UNINIT) -CERRWARN += -_gcc=-Wno-unused-value -CERRWARN += -_cc=-erroff=E_STATEMENT_NOT_REACHED - # # Define targets # ALL_TARGET = $(BINARY) $(SRC_CONFFILE) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # @@ -73,9 +65,16 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) INC_PATH += -I$(CONF_SRCDIR) # -# lint pass one enforcement +# 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. # CFLAGS += $(CCVERBOSE) +CERRWARN += -_gcc=-Wno-parentheses +CERRWARN += -_gcc=-Wno-switch +CERRWARN += $(CNOWARN_UNINIT) +CERRWARN += -_gcc=-Wno-unused-value +CERRWARN += -_cc=-erroff=E_STATEMENT_NOT_REACHED # # Turn on doubleword alignment for 64 bit registers @@ -100,12 +99,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # |