mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-23 11:18:54 +00:00
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
This commit is contained in:
parent
c321b45ec2
commit
28f17f18c6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=260019
@ -38,3 +38,8 @@ SRCS += device_if.h fb_if.h bus_if.h pci_if.h iicbus_if.h iicbb_if.h \
|
||||
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}}
|
||||
|
Loading…
Reference in New Issue
Block a user