2014-11-11 14:30:21 +03:00
|
|
|
# $NetBSD: Makefile,v 1.4 2014/11/11 11:30:21 nonaka 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.
|
2014-07-17 00:56:24 +04:00
|
|
|
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.
|
2014-07-17 00:56:24 +04:00
|
|
|
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.
|
2014-07-17 00:56:24 +04:00
|
|
|
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
|
2014-07-17 00:56:24 +04:00
|
|
|
SRCS+= drm_sysfs.c
|
2014-03-18 22:20:35 +04:00
|
|
|
SRCS+= drm_vm.c
|
2014-07-17 00:56:24 +04:00
|
|
|
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
|
2014-07-17 00:56:24 +04:00
|
|
|
COPTS.drm_crtc.c+= -Wno-missing-field-initializers
|
2014-03-18 22:20:35 +04:00
|
|
|
COPTS.drm_edid.c+= -Wno-shadow
|
|
|
|
|
2014-11-11 14:30:21 +03:00
|
|
|
CPPFLAGS+= -DNACPICA=1
|
|
|
|
|
2014-03-18 22:20:35 +04:00
|
|
|
.include <bsd.kmodule.mk>
|