Makefile revision 1.7
11.7Sskrll# $NetBSD: Makefile,v 1.7 2016/02/24 22:04:15 skrll 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.2Sriastrad.PATH: ${S}/external/bsd/drm2/linux 121.7Sskrll.PATH: ${S}/external/bsd/common/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.3SriastradSRCS+= linux_dmi.c 231.2SriastradSRCS+= linux_kmap.c 241.2SriastradSRCS+= linux_i2c.c 251.2SriastradSRCS+= linux_idr.c 261.2SriastradSRCS+= linux_list_sort.c 271.2SriastradSRCS+= linux_module.c 281.2SriastradSRCS+= linux_work.c 291.3SriastradSRCS+= linux_writecomb.c 301.6SriastradSRCS+= linux_ww_mutex.c 311.2Sriastrad 321.2Sriastrad.include <bsd.kmodule.mk> 33