aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/drm2/drm2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/modules/drm2/drm2/Makefile')
-rw-r--r--sys/modules/drm2/drm2/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/sys/modules/drm2/drm2/Makefile b/sys/modules/drm2/drm2/Makefile
index 3bbccb51ce86..35bee2972091 100644
--- a/sys/modules/drm2/drm2/Makefile
+++ b/sys/modules/drm2/drm2/Makefile
@@ -13,7 +13,6 @@ SRCS = \
drm_dma.c \
drm_dp_helper.c \
drm_dp_iic_helper.c \
- drm_drawable.c \
drm_drv.c \
drm_edid.c \
drm_fb_helper.c \
@@ -31,10 +30,10 @@ SRCS = \
drm_modes.c \
drm_pci.c \
drm_scatter.c \
- drm_sman.c \
drm_stub.c \
drm_sysctl.c \
drm_vm.c \
+ drm_os_freebsd.c \
ttm_agp_backend.c \
ttm_lock.c \
ttm_object.c \
@@ -49,11 +48,16 @@ SRCS = \
ati_pcigart.c
#ttm_page_alloc_dma.c
-.if ${MACHINE_CPUARCH} == "amd64"
+.if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_ARCH} == "powerpc64"
SRCS += drm_ioc32.c
.endif
SRCS +=device_if.h bus_if.h pci_if.h device_if.h iicbus_if.h opt_drm.h \
opt_vm.h opt_compat.h opt_syscons.h
+
+.if ${MACHINE_CPUARCH} == "powerpc"
+CWARNFLAGS+=-Wno-cast-qual
+.endif
+
.include <bsd.kmod.mk>