Makefile revision 1.13
11.13Sriastrad# $NetBSD: Makefile,v 1.13 2021/12/19 00:27:09 riastradh Exp $ 21.7Sskrll 31.7Sskrll# 41.7Sskrll# At some point this needs to turn into linux.kmod and a proper home for it 51.7Sskrll# found. For now pickup the linux_work.c from the (increasingly poorly 61.7Sskrll# named) common area. 71.7Sskrll# 81.2Sriastrad 91.2Sriastrad.include "../Makefile.inc" 101.2Sriastrad 111.8Sriastrad.PATH: ${S}/external/bsd/common/linux 121.2Sriastrad.PATH: ${S}/external/bsd/drm2/linux 131.2Sriastrad 141.5SriastradCPPFLAGS+= -I${S}/external/bsd/common/include 151.2SriastradCPPFLAGS+= -I${S}/external/bsd/drm2/include 161.2Sriastrad 171.2Sriastrad# XXX Kludge! 181.2SriastradCPPFLAGS+= -DDIAGNOSTIC 191.2Sriastrad 201.2SriastradKMOD= drmkms_linux 211.2Sriastrad 221.11SriastradSRCS+= linux_atomic64.c 231.11SriastradSRCS+= linux_dma_buf.c 241.13SriastradSRCS+= linux_dma_fence.c 251.3SriastradSRCS+= linux_dmi.c 261.2SriastradSRCS+= linux_i2c.c 271.2SriastradSRCS+= linux_idr.c 281.8SriastradSRCS+= linux_kmap.c 291.2SriastradSRCS+= linux_list_sort.c 301.2SriastradSRCS+= linux_module.c 311.9SriastradSRCS+= linux_rcu.c 321.9SriastradSRCS+= linux_reservation.c 331.9SriastradSRCS+= linux_work.c # XXX Move me to linux.kmod. 341.3SriastradSRCS+= linux_writecomb.c 351.6SriastradSRCS+= linux_ww_mutex.c 361.2Sriastrad 371.12SrinWARNS= 3 381.12Srin 391.2Sriastrad.include <bsd.kmodule.mk> 40