Wed Jul 24 03:10:51 2013 UTC ()
Define CONFIG_MTRR in drm2 modules on x86.

XXX We really need a better place for this stuff...


(riastradh)
diff -r1.1.2.1 -r1.1.2.2 src/sys/modules/drm2/Makefile.inc

cvs diff -r1.1.2.1 -r1.1.2.2 src/sys/modules/drm2/Attic/Makefile.inc (expand / switch to unified diff)

--- src/sys/modules/drm2/Attic/Makefile.inc 2013/07/24 02:42:19 1.1.2.1
+++ src/sys/modules/drm2/Attic/Makefile.inc 2013/07/24 03:10:51 1.1.2.2
@@ -1,15 +1,16 @@ @@ -1,15 +1,16 @@
1# $NetBSD: Makefile.inc,v 1.1.2.1 2013/07/24 02:42:19 riastradh Exp $ 1# $NetBSD: Makefile.inc,v 1.1.2.2 2013/07/24 03:10:51 riastradh Exp $
2 2
3# Common makefile cruft for drm2 code. 3# Common makefile cruft for drm2 code.
4 4
5CPPFLAGS+= -I${S}/external/bsd/drm2/include 5CPPFLAGS+= -I${S}/external/bsd/drm2/include
6CPPFLAGS+= -I${S}/external/bsd/drm2/dist/uapi 6CPPFLAGS+= -I${S}/external/bsd/drm2/dist/uapi
7CPPFLAGS+= -I${S}/external/bsd/drm2/dist/include 7CPPFLAGS+= -I${S}/external/bsd/drm2/dist/include
8CPPFLAGS+= -D__KERNEL__ 8CPPFLAGS+= -D__KERNEL__
9 9
10# XXX Is this the right place to set this? 10# XXX Is this the right place to set this?
11CPPFLAGS+= -DDIAGNOSTIC 11CPPFLAGS+= -DDIAGNOSTIC
12 12
13.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" 13.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
14CPPFLAGS+= -DMTRR 14CPPFLAGS+= -DMTRR
 15CPPFLAGS+= -DCONFIG_MTRR
15.endif 16.endif