1 1.4.2.3 snj # $NetBSD: Makefile,v 1.4.2.3 2017/04/05 19:54:22 snj Exp $ 2 1.4.2.3 snj 3 1.4.2.3 snj # 4 1.4.2.3 snj # At some point this needs to turn into linux.kmod and a proper home for it 5 1.4.2.3 snj # found. For now pickup the linux_work.c from the (increasingly poorly 6 1.4.2.3 snj # named) common area. 7 1.4.2.3 snj # 8 1.2 riastrad 9 1.2 riastrad .include "../Makefile.inc" 10 1.2 riastrad 11 1.2 riastrad .PATH: ${S}/external/bsd/drm2/linux 12 1.4.2.3 snj .PATH: ${S}/external/bsd/common/linux 13 1.2 riastrad 14 1.4.2.1 snj CPPFLAGS+= -I${S}/external/bsd/common/include 15 1.2 riastrad CPPFLAGS+= -I${S}/external/bsd/drm2/include 16 1.2 riastrad 17 1.2 riastrad # XXX Kludge! 18 1.2 riastrad CPPFLAGS+= -DDIAGNOSTIC 19 1.2 riastrad 20 1.2 riastrad KMOD= drmkms_linux 21 1.2 riastrad 22 1.3 riastrad SRCS+= linux_dmi.c 23 1.2 riastrad SRCS+= linux_kmap.c 24 1.2 riastrad SRCS+= linux_i2c.c 25 1.2 riastrad SRCS+= linux_idr.c 26 1.2 riastrad SRCS+= linux_list_sort.c 27 1.2 riastrad SRCS+= linux_module.c 28 1.2 riastrad SRCS+= linux_work.c 29 1.3 riastrad SRCS+= linux_writecomb.c 30 1.4.2.2 snj SRCS+= linux_ww_mutex.c 31 1.2 riastrad 32 1.2 riastrad .include <bsd.kmodule.mk> 33