svn commit: r260019 - head/sys/modules/drm2/i915kms
Dimitry Andric
dim at FreeBSD.org
Sat Dec 28 22:35:16 UTC 2013
Author: dim
Date: Sat Dec 28 22:35:16 2013
New Revision: 260019
URL: http://svnweb.freebsd.org/changeset/base/260019
Log:
For some files under sys/dev/drm2/i915, turn off warnings about unused
functions and variables, since they are contributed code.
MFC after: 3 days
Modified:
head/sys/modules/drm2/i915kms/Makefile
Modified: head/sys/modules/drm2/i915kms/Makefile
==============================================================================
--- head/sys/modules/drm2/i915kms/Makefile Sat Dec 28 22:26:57 2013 (r260018)
+++ head/sys/modules/drm2/i915kms/Makefile Sat Dec 28 22:35:16 2013 (r260019)
@@ -38,3 +38,8 @@ SRCS += device_if.h fb_if.h bus_if.h pci
opt_drm.h opt_compat.h opt_syscons.h
.include <bsd.kmod.mk>
+
+CWARNFLAGS.i915_debug.c= -Wno-unused-function
+CWARNFLAGS.intel_lvds.c= -Wno-unused
+CWARNFLAGS.intel_tv.c= -Wno-unused
+CWARNFLAGS+= ${CWARNFLAGS.${.IMPSRC:T}}
More information about the svn-src-head
mailing list