opnsense-src/sys/modules/drm/radeon/Makefile
Nathan Whitehorn 643c87ca3d Extend dim's hack from r228978: not only clang but gcc on non-x86 platforms
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.
2012-10-28 02:15:35 +00:00

13 lines
423 B
Makefile

# $FreeBSD$
.PATH: ${.CURDIR}/../../../dev/drm
KMOD = radeon
SRCS = r300_cmdbuf.c r600_blit.c r600_cp.c radeon_cp.c radeon_cs.c \
radeon_drv.c radeon_irq.c radeon_mem.c radeon_state.c
SRCS +=device_if.h bus_if.h pci_if.h opt_drm.h
.include <bsd.kmod.mk>
CWARNFLAGS.r600_cp.c= -Wno-unused ${NO_WCONSTANT_CONVERSION}
CWARNFLAGS.radeon_cp.c= -Wno-unused ${NO_WCONSTANT_CONVERSION}
CWARNFLAGS+= ${CWARNFLAGS.${.IMPSRC:T}}