Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/riastradh-drm2]: src/sys/modules/drm2 Define MTRR when building the drm2...
details: https://anonhg.NetBSD.org/src/rev/50497e6c398c
branches: riastradh-drm2
changeset: 788064:50497e6c398c
user: riastradh <riastradh%NetBSD.org@localhost>
date: Wed Jul 24 02:04:01 2013 +0000
description:
Define MTRR when building the drm2 module on x86.
diffstat:
sys/modules/drm2/Makefile | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r 32c38afaccda -r 50497e6c398c sys/modules/drm2/Makefile
--- a/sys/modules/drm2/Makefile Wed Jul 24 02:03:46 2013 +0000
+++ b/sys/modules/drm2/Makefile Wed Jul 24 02:04:01 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.2.4 2013/07/24 01:58:19 riastradh Exp $
+# $NetBSD: Makefile,v 1.1.2.5 2013/07/24 02:04:01 riastradh Exp $
.include "../Makefile.inc"
@@ -49,4 +49,8 @@
CPPFLAGS+= -I${S}/external/bsd/drm2/dist/include
CPPFLAGS+= -D__KERNEL__
+.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
+CPPFLAGS+= -DMTRR
+.endif
+
.include <bsd.kmodule.mk>
Home |
Main Index |
Thread Index |
Old Index