| @@ -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 | |
5 | CPPFLAGS+= -I${S}/external/bsd/drm2/include | | 5 | CPPFLAGS+= -I${S}/external/bsd/drm2/include |
6 | CPPFLAGS+= -I${S}/external/bsd/drm2/dist/uapi | | 6 | CPPFLAGS+= -I${S}/external/bsd/drm2/dist/uapi |
7 | CPPFLAGS+= -I${S}/external/bsd/drm2/dist/include | | 7 | CPPFLAGS+= -I${S}/external/bsd/drm2/dist/include |
8 | CPPFLAGS+= -D__KERNEL__ | | 8 | CPPFLAGS+= -D__KERNEL__ |
9 | | | 9 | |
10 | # XXX Is this the right place to set this? | | 10 | # XXX Is this the right place to set this? |
11 | CPPFLAGS+= -DDIAGNOSTIC | | 11 | CPPFLAGS+= -DDIAGNOSTIC |
12 | | | 12 | |
13 | .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" | | 13 | .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" |
14 | CPPFLAGS+= -DMTRR | | 14 | CPPFLAGS+= -DMTRR |
| | | 15 | CPPFLAGS+= -DCONFIG_MTRR |
15 | .endif | | 16 | .endif |