1 1.7 riastrad # $NetBSD: Makefile,v 1.7 2014/11/22 19:18:07 riastradh Exp $ 2 1.2 riastrad 3 1.2 riastrad .include "../Makefile.inc" 4 1.2 riastrad .include "Makefile.inc" 5 1.2 riastrad 6 1.2 riastrad .PATH: ${S}/external/bsd/drm2/drm 7 1.2 riastrad .PATH: ${S}/external/bsd/drm2/pci 8 1.2 riastrad .PATH: ${S}/external/bsd/drm2/dist/drm 9 1.2 riastrad 10 1.6 christos MKLDSCRIPT=yes 11 1.2 riastrad KMOD= drmkms 12 1.2 riastrad 13 1.2 riastrad # Upstream source files. 14 1.2 riastrad #SRCS+= ati_pcigart.c # Moved to drmkms_pci module. 15 1.7 riastrad #SRCS+= drm_agpsupport.c # Moved to drmkms_pci module. 16 1.2 riastrad SRCS+= drm_auth.c 17 1.2 riastrad SRCS+= drm_buffer.c 18 1.2 riastrad SRCS+= drm_bufs.c 19 1.2 riastrad SRCS+= drm_cache.c 20 1.2 riastrad SRCS+= drm_context.c 21 1.2 riastrad SRCS+= drm_crtc.c 22 1.2 riastrad SRCS+= drm_crtc_helper.c 23 1.2 riastrad SRCS+= drm_dma.c 24 1.2 riastrad SRCS+= drm_dp_helper.c 25 1.2 riastrad SRCS+= drm_drv.c 26 1.2 riastrad SRCS+= drm_edid.c 27 1.2 riastrad #SRCS+= drm_encoder_slave.c # XXX Rewrite for i2c. 28 1.2 riastrad SRCS+= drm_fb_helper.c # XXX Rewrite for wsconsole. 29 1.3 riastrad SRCS+= drm_flip_work.c 30 1.2 riastrad SRCS+= drm_fops.c 31 1.2 riastrad SRCS+= drm_gem.c 32 1.2 riastrad SRCS+= drm_global.c 33 1.2 riastrad SRCS+= drm_hashtab.c 34 1.2 riastrad #SRCS+= drm_info.c # XXX Rewrite for sysctl or something. 35 1.2 riastrad #SRCS+= drm_ioc32.c 36 1.2 riastrad SRCS+= drm_ioctl.c 37 1.2 riastrad SRCS+= drm_irq.c 38 1.2 riastrad SRCS+= drm_lock.c 39 1.2 riastrad SRCS+= drm_memory.c 40 1.2 riastrad SRCS+= drm_mm.c 41 1.2 riastrad SRCS+= drm_modes.c 42 1.2 riastrad #SRCS+= drm_pci.c # Moved to drmkms_pci module. 43 1.3 riastrad SRCS+= drm_plane_helper.c 44 1.2 riastrad #SRCS+= drm_platform.c # XXX Rewrite per platform. 45 1.2 riastrad #SRCS+= drm_prime.c # XXX Revisit later. 46 1.3 riastrad SRCS+= drm_probe_helper.c 47 1.3 riastrad SRCS+= drm_rect.c 48 1.2 riastrad SRCS+= drm_scatter.c 49 1.2 riastrad SRCS+= drm_stub.c 50 1.5 christos SRCS+= drm_sysctl.c 51 1.3 riastrad SRCS+= drm_sysfs.c 52 1.2 riastrad SRCS+= drm_vm.c 53 1.3 riastrad SRCS+= drm_vma_manager.c 54 1.2 riastrad 55 1.2 riastrad # NetBSD additions. 56 1.2 riastrad SRCS+= drm_gem_vm.c 57 1.2 riastrad SRCS+= drm_module.c 58 1.2 riastrad 59 1.2 riastrad COPTS.drm_crtc.c+= -Wno-shadow 60 1.3 riastrad COPTS.drm_crtc.c+= -Wno-missing-field-initializers 61 1.2 riastrad COPTS.drm_edid.c+= -Wno-shadow 62 1.2 riastrad 63 1.4 nonaka CPPFLAGS+= -DNACPICA=1 64 1.4 nonaka 65 1.2 riastrad .include <bsd.kmodule.mk> 66