3 .PATH: ${.CURDIR}/../../../dev/drm
5 SRCS = via_dma.c via_dmablit.c via_drv.c via_irq.c via_map.c via_mm.c \
6 via_verifier.c via_video.c
7 SRCS += device_if.h bus_if.h pci_if.h opt_drm.h
10 DRM_DEBUG_OPT= "\#define DRM_DEBUG 1"
13 .if !defined(DRM_NOLINUX) && \
14 (${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64")
15 DRM_LINUX_OPT= "\#define DRM_LINUX 1"
20 echo $(DRM_DEBUG_OPT) >> opt_drm.h
21 echo $(DRM_LINUX_OPT) >> opt_drm.h
23 .include <bsd.kmod.mk>
25 CWARNFLAGS.via_dma.c= -Wno-unused-value
26 CWARNFLAGS.via_dmablit.c= -Wno-unused-value