summaryrefslogtreecommitdiff
path: root/usr/src/uts/intel/dev
diff options
context:
space:
mode:
authorjg <none@none>2006-11-05 20:51:31 -0800
committerjg <none@none>2006-11-05 20:51:31 -0800
commitbb25c06cca41ca78e5fb87fbb8e81d55beb18c95 (patch)
treed3e4585f7befa390a03bb90dce8f96f717983fd2 /usr/src/uts/intel/dev
parenta12e05a04a5d5850f645c79e7e2c74f8d6b7c5ec (diff)
downloadillumos-joyent-bb25c06cca41ca78e5fb87fbb8e81d55beb18c95.tar.gz
6470037 remove global disable of some potentially useful lint warnings from the kernel lint build
Diffstat (limited to 'usr/src/uts/intel/dev')
-rw-r--r--usr/src/uts/intel/dev/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/usr/src/uts/intel/dev/Makefile b/usr/src/uts/intel/dev/Makefile
index 4ec567573f..dbca68aac4 100644
--- a/usr/src/uts/intel/dev/Makefile
+++ b/usr/src/uts/intel/dev/Makefile
@@ -23,7 +23,7 @@
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
+#ident "%Z%%M% %I% %E% SMI"
#
# This makefile drives the production of the dev file system
# kernel module.
@@ -60,10 +60,19 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
# Override defaults to build a unique, local modstubs.o.
#
MODSTUBS_DIR = $(OBJS_DIR)
-CFLAGS += -v
+CFLAGS += $(CCVERBOSE)
LDFLAGS += -dy -Nfs/devfs
#
+# For now, disable these lint checks; maintainers should endeavor
+# to investigate and remove these for maximum lint coverage.
+# Please do not carry these forward to new Makefiles.
+#
+LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
+LINTTAGS += -erroff=E_STATIC_UNUSED
+LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
+
+#
# Default build targets.
#
.KEEP_STATE: