1 1.15 riastrad # $NetBSD: Makefile,v 1.15 2022/07/17 14:11:40 riastradh Exp $ 2 1.7 skrll 3 1.7 skrll # 4 1.7 skrll # At some point this needs to turn into linux.kmod and a proper home for it 5 1.7 skrll # found. For now pickup the linux_work.c from the (increasingly poorly 6 1.7 skrll # named) common area. 7 1.7 skrll # 8 1.2 riastrad 9 1.2 riastrad .include "../Makefile.inc" 10 1.2 riastrad 11 1.8 riastrad .PATH: ${S}/external/bsd/common/linux 12 1.2 riastrad .PATH: ${S}/external/bsd/drm2/linux 13 1.2 riastrad 14 1.5 riastrad 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.14 riastrad # common/linux 23 1.14 riastrad SRCS+= linux_rcu.c 24 1.14 riastrad SRCS+= linux_srcu.c 25 1.14 riastrad SRCS+= linux_tasklet.c 26 1.14 riastrad SRCS+= linux_work.c 27 1.14 riastrad 28 1.14 riastrad # drm2/linux 29 1.11 riastrad SRCS+= linux_atomic64.c 30 1.14 riastrad SRCS+= linux_backlight.c 31 1.11 riastrad SRCS+= linux_dma_buf.c 32 1.13 riastrad SRCS+= linux_dma_fence.c 33 1.14 riastrad SRCS+= linux_dma_fence_array.c 34 1.14 riastrad SRCS+= linux_dma_fence_chain.c 35 1.14 riastrad SRCS+= linux_dma_resv.c 36 1.3 riastrad SRCS+= linux_dmi.c 37 1.14 riastrad SRCS+= linux_firmware.c 38 1.14 riastrad SRCS+= linux_hrtimer.c 39 1.2 riastrad SRCS+= linux_i2c.c 40 1.2 riastrad SRCS+= linux_idr.c 41 1.14 riastrad SRCS+= linux_irq_work.c 42 1.8 riastrad SRCS+= linux_kmap.c 43 1.2 riastrad SRCS+= linux_list_sort.c 44 1.2 riastrad SRCS+= linux_module.c 45 1.14 riastrad SRCS+= linux_notifier.c 46 1.14 riastrad SRCS+= linux_pci.c 47 1.14 riastrad SRCS+= linux_radixtree.c 48 1.14 riastrad SRCS+= linux_rwsem.c 49 1.15 riastrad SRCS+= linux_sgt.c 50 1.14 riastrad SRCS+= linux_stop_machine.c 51 1.14 riastrad SRCS+= linux_sync_file.c 52 1.14 riastrad SRCS+= linux_wait_bit.c 53 1.3 riastrad SRCS+= linux_writecomb.c 54 1.6 riastrad SRCS+= linux_ww_mutex.c 55 1.14 riastrad SRCS+= linux_xa.c 56 1.2 riastrad 57 1.12 rin WARNS= 3 58 1.12 rin 59 1.2 riastrad .include <bsd.kmodule.mk> 60