1# $NetBSD: Makefile,v 1.7 2016/02/24 22:04:15 skrll 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/drm2/linux 12.PATH: ${S}/external/bsd/common/linux 13 14CPPFLAGS+= -I${S}/external/bsd/common/include 15CPPFLAGS+= -I${S}/external/bsd/drm2/include 16 17# XXX Kludge! 18CPPFLAGS+= -DDIAGNOSTIC 19 20KMOD= drmkms_linux 21 22SRCS+= linux_dmi.c 23SRCS+= linux_kmap.c 24SRCS+= linux_i2c.c 25SRCS+= linux_idr.c 26SRCS+= linux_list_sort.c 27SRCS+= linux_module.c 28SRCS+= linux_work.c 29SRCS+= linux_writecomb.c 30SRCS+= linux_ww_mutex.c 31 32.include <bsd.kmodule.mk> 33