Home | History | Annotate | Line # | Download | only in drmkms
Makefile revision 1.12
      1  1.12       rin # $NetBSD: Makefile,v 1.12 2019/02/17 04:05:47 rin 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.10  riastrad KMOD=	drmkms
      7  1.10  riastrad MKLDSCRIPT=yes
      8  1.10  riastrad 
      9   1.2  riastrad .PATH:	${S}/external/bsd/drm2/drm
     10   1.8  riastrad .PATH:	${S}/external/bsd/drm2/i2c
     11   1.2  riastrad .PATH:	${S}/external/bsd/drm2/pci
     12  1.10  riastrad 
     13   1.2  riastrad .PATH:	${S}/external/bsd/drm2/dist/drm
     14   1.2  riastrad 
     15  1.10  riastrad # NetBSD additions.
     16  1.11  riastrad SRCS+=	drm_agp_hook.c
     17  1.10  riastrad SRCS+=	drm_cdevsw.c
     18  1.10  riastrad SRCS+=	drm_gem_cma_helper.c
     19  1.10  riastrad SRCS+=	drm_gem_vm.c
     20  1.10  riastrad SRCS+=	drm_module.c
     21  1.10  riastrad SRCS+=	drm_sysctl.c
     22  1.10  riastrad 
     23  1.10  riastrad # Generic, unaccelerated kms framebuffer.
     24  1.10  riastrad SRCS+=	drmfb.c
     25  1.10  riastrad 
     26  1.10  riastrad # XXX ttm
     27  1.10  riastrad 
     28  1.11  riastrad CPPFLAGS+=	-I.
     29  1.11  riastrad 
     30  1.10  riastrad # XXX CWARNFLAGS.foo.c doesn't work.
     31  1.10  riastrad COPTS.drm_atomic_helper.c+=	-Wno-shadow
     32  1.10  riastrad COPTS.drm_crtc.c+=		-Wno-missing-field-initializers
     33  1.10  riastrad COPTS.drm_crtc.c+=		-Wno-shadow
     34  1.10  riastrad COPTS.drm_edid.c+=		-Wno-shadow
     35  1.10  riastrad COPTS.drm_ioctl.c+=		-Wno-shadow
     36   1.2  riastrad 
     37   1.2  riastrad # Upstream source files.
     38   1.2  riastrad #SRCS+=	ati_pcigart.c		# Moved to drmkms_pci module.
     39   1.7  riastrad #SRCS+=	drm_agpsupport.c	# Moved to drmkms_pci module.
     40  1.10  riastrad SRCS+=	drm_atomic.c
     41  1.10  riastrad SRCS+=	drm_atomic_helper.c
     42   1.2  riastrad SRCS+=	drm_auth.c
     43  1.10  riastrad SRCS+=	drm_bridge.c
     44   1.2  riastrad SRCS+=	drm_bufs.c
     45   1.2  riastrad SRCS+=	drm_cache.c
     46   1.2  riastrad SRCS+=	drm_context.c
     47   1.2  riastrad SRCS+=	drm_crtc.c
     48   1.2  riastrad SRCS+=	drm_crtc_helper.c
     49  1.10  riastrad SRCS+=	drm_debugfs.c
     50   1.2  riastrad SRCS+=	drm_dma.c
     51   1.2  riastrad SRCS+=	drm_dp_helper.c
     52  1.10  riastrad SRCS+=	drm_dp_mst_topology.c
     53   1.2  riastrad SRCS+=	drm_drv.c
     54   1.2  riastrad SRCS+=	drm_edid.c
     55   1.8  riastrad SRCS+=	drm_encoder_slave.c
     56  1.10  riastrad SRCS+=	drm_fb_helper.c
     57   1.3  riastrad SRCS+=	drm_flip_work.c
     58   1.2  riastrad SRCS+=	drm_fops.c
     59   1.2  riastrad SRCS+=	drm_gem.c
     60   1.2  riastrad SRCS+=	drm_global.c
     61   1.2  riastrad SRCS+=	drm_hashtab.c
     62   1.2  riastrad #SRCS+=	drm_info.c		# XXX Rewrite for sysctl or something.
     63   1.2  riastrad SRCS+=	drm_ioctl.c
     64   1.2  riastrad SRCS+=	drm_irq.c
     65   1.2  riastrad SRCS+=	drm_lock.c
     66   1.2  riastrad SRCS+=	drm_memory.c
     67   1.2  riastrad SRCS+=	drm_mm.c
     68   1.2  riastrad SRCS+=	drm_modes.c
     69  1.10  riastrad SRCS+=	drm_modeset_lock.c
     70   1.2  riastrad #SRCS+=	drm_pci.c		# Moved to drmkms_pci module.
     71   1.3  riastrad SRCS+=	drm_plane_helper.c
     72   1.2  riastrad #SRCS+=	drm_platform.c		# XXX Rewrite per platform.
     73   1.2  riastrad #SRCS+=	drm_prime.c		# XXX Revisit later.
     74   1.3  riastrad SRCS+=	drm_probe_helper.c
     75   1.3  riastrad SRCS+=	drm_rect.c
     76   1.2  riastrad SRCS+=	drm_scatter.c
     77   1.3  riastrad SRCS+=	drm_sysfs.c
     78  1.10  riastrad SRCS+=	drm_trace_points.c
     79   1.2  riastrad SRCS+=	drm_vm.c
     80   1.3  riastrad SRCS+=	drm_vma_manager.c
     81   1.2  riastrad 
     82  1.12       rin WARNS=	3
     83  1.12       rin 
     84   1.2  riastrad .include <bsd.kmodule.mk>
     85