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