Makefile.inc revision 1.3
11.3Sriastrad# $NetBSD: Makefile.inc,v 1.3 2014/04/01 15:08:58 riastradh Exp $ 21.2Sriastrad 31.2Sriastrad# Common makefile cruft for drm2 code. 41.2Sriastrad 51.2Sriastrad# XXX All the -D crap needs to go in a header file instead so changing 61.2Sriastrad# it correctly triggers rebuilds. 71.2Sriastrad 81.2SriastradCPPFLAGS+= -I${S}/external/bsd/drm2/include 91.2SriastradCPPFLAGS+= -I${S}/external/bsd/drm2/dist/uapi 101.2SriastradCPPFLAGS+= -I${S}/external/bsd/drm2/dist/include 111.3SriastradCPPFLAGS+= -I${S}/external/bsd/common/include 121.2SriastradCPPFLAGS+= -D__KERNEL__ 131.2Sriastrad 141.2Sriastrad# XXX Is this the right place to set this? 151.2SriastradCPPFLAGS+= -DDIAGNOSTIC 161.2Sriastrad 171.2Sriastrad.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" 181.2SriastradCPPFLAGS+= -DCONFIG_MTRR 191.2SriastradCPPFLAGS+= -DCONFIG_X86 201.2SriastradCPPFLAGS+= -DMTRR 211.2Sriastrad.endif 22