NetBSD/sys/modules/drmkms/Makefile

62 lines
1.5 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.3 2014/07/16 20:56:25 riastradh Exp $
2014-03-18 22:20:35 +04:00
.include "../Makefile.inc"
.include "Makefile.inc"
.PATH: ${S}/external/bsd/drm2/drm
.PATH: ${S}/external/bsd/drm2/pci
.PATH: ${S}/external/bsd/drm2/dist/drm
KMOD= drmkms
# Upstream source files.
#SRCS+= ati_pcigart.c # Moved to drmkms_pci module.
#SRCS+= drm_agpsupport.c # Moved to drmkms_pci module.
SRCS+= drm_auth.c
SRCS+= drm_buffer.c
SRCS+= drm_bufs.c
SRCS+= drm_cache.c
SRCS+= drm_context.c
SRCS+= drm_crtc.c
SRCS+= drm_crtc_helper.c
SRCS+= drm_dma.c
SRCS+= drm_dp_helper.c
SRCS+= drm_drv.c
SRCS+= drm_edid.c
#SRCS+= drm_encoder_slave.c # XXX Rewrite for i2c.
SRCS+= drm_fb_helper.c # XXX Rewrite for wsconsole.
SRCS+= drm_flip_work.c
2014-03-18 22:20:35 +04:00
SRCS+= drm_fops.c
SRCS+= drm_gem.c
SRCS+= drm_global.c
SRCS+= drm_hashtab.c
#SRCS+= drm_info.c # XXX Rewrite for sysctl or something.
#SRCS+= drm_ioc32.c
SRCS+= drm_ioctl.c
SRCS+= drm_irq.c
SRCS+= drm_lock.c
SRCS+= drm_memory.c
SRCS+= drm_mm.c
SRCS+= drm_modes.c
#SRCS+= drm_pci.c # Moved to drmkms_pci module.
SRCS+= drm_plane_helper.c
2014-03-18 22:20:35 +04:00
#SRCS+= drm_platform.c # XXX Rewrite per platform.
#SRCS+= drm_prime.c # XXX Revisit later.
SRCS+= drm_probe_helper.c
SRCS+= drm_rect.c
2014-03-18 22:20:35 +04:00
SRCS+= drm_scatter.c
SRCS+= drm_stub.c
SRCS+= drm_sysfs.c
2014-03-18 22:20:35 +04:00
SRCS+= drm_vm.c
SRCS+= drm_vma_manager.c
2014-03-18 22:20:35 +04:00
# NetBSD additions.
SRCS+= drm_gem_vm.c
SRCS+= drm_module.c
COPTS.drm_crtc.c+= -Wno-shadow
COPTS.drm_crtc.c+= -Wno-missing-field-initializers
2014-03-18 22:20:35 +04:00
COPTS.drm_edid.c+= -Wno-shadow
.include <bsd.kmodule.mk>