01aa9b233e
warns about unused variables in this code, so always add -Wno-unused to the warning flags. Why gcc on x86 *doesn't* warn about this, I will never know. The code itself should probably be fixed at some point.
13 lines
327 B
Makefile
13 lines
327 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../../dev/drm
|
|
KMOD = r128
|
|
SRCS = r128_cce.c r128_drv.c r128_irq.c r128_state.c
|
|
SRCS +=device_if.h bus_if.h pci_if.h opt_drm.h
|
|
|
|
.include <bsd.kmod.mk>
|
|
|
|
CWARNFLAGS.r128_cce.c= -Wno-unused ${NO_WCONSTANT_CONVERSION}
|
|
CWARNFLAGS.r128_state.c= -Wno-unused
|
|
CWARNFLAGS+= ${CWARNFLAGS.${.IMPSRC:T}}
|