Home | History | Annotate | Line # | Download | only in drmkms_linux
Makefile revision 1.13
      1 # $NetBSD: Makefile,v 1.13 2021/12/19 00:27:09 riastradh Exp $
      2 
      3 #
      4 # At some point this needs to turn into linux.kmod and a proper home for it
      5 # found.  For now pickup the linux_work.c from the (increasingly poorly
      6 # named) common area.
      7 #
      8 
      9 .include "../Makefile.inc"
     10 
     11 .PATH: ${S}/external/bsd/common/linux
     12 .PATH: ${S}/external/bsd/drm2/linux
     13 
     14 CPPFLAGS+=	-I${S}/external/bsd/common/include
     15 CPPFLAGS+=	-I${S}/external/bsd/drm2/include
     16 
     17 # XXX Kludge!
     18 CPPFLAGS+=	-DDIAGNOSTIC
     19 
     20 KMOD=	drmkms_linux
     21 
     22 SRCS+=	linux_atomic64.c
     23 SRCS+=	linux_dma_buf.c
     24 SRCS+=	linux_dma_fence.c
     25 SRCS+=	linux_dmi.c
     26 SRCS+=	linux_i2c.c
     27 SRCS+=	linux_idr.c
     28 SRCS+=	linux_kmap.c
     29 SRCS+=	linux_list_sort.c
     30 SRCS+=	linux_module.c
     31 SRCS+=	linux_rcu.c
     32 SRCS+=	linux_reservation.c
     33 SRCS+=	linux_work.c		# XXX Move me to linux.kmod.
     34 SRCS+=	linux_writecomb.c
     35 SRCS+=	linux_ww_mutex.c
     36 
     37 WARNS=	3
     38 
     39 .include <bsd.kmodule.mk>
     40