Fix modules build after update of drm(4).

This commit is contained in:
tron 2009-06-22 13:13:08 +00:00
parent 3f3fc05a03
commit 45353de023
3 changed files with 14 additions and 8 deletions

View File

@ -1,8 +1,8 @@
# $NetBSD: Makefile,v 1.2 2008/05/19 13:21:57 tnn Exp $ # $NetBSD: Makefile,v 1.3 2009/06/22 13:13:08 tron Exp $
.include "../Makefile.inc" .include "../Makefile.inc"
.PATH: ${S}/dev/drm .PATH: ${S}/external/bsd/drm/dist/bsd-core
KMOD= drm KMOD= drm
@ -23,4 +23,6 @@ SRCS+= drm_scatter.c
SRCS+= drm_sysctl.c SRCS+= drm_sysctl.c
SRCS+= drm_vm.c SRCS+= drm_vm.c
CPPFLAGS+= -I${S}/external/bsd/drm/dist/shared-core
.include <bsd.kmodule.mk> .include <bsd.kmodule.mk>

View File

@ -1,8 +1,9 @@
# $NetBSD: Makefile,v 1.3 2008/07/08 10:11:02 jmmv Exp $ # $NetBSD: Makefile,v 1.4 2009/06/22 13:13:08 tron Exp $
.include "../Makefile.inc" .include "../Makefile.inc"
.PATH: ${S}/dev/pci/drm .PATH: ${S}/external/bsd/drm/dist/bsd-core
.PATH: ${S}/external/bsd/drm/dist/shared-core
KMOD= i915drm KMOD= i915drm
@ -11,6 +12,7 @@ SRCS+= i915_drv.c
SRCS+= i915_irq.c SRCS+= i915_irq.c
SRCS+= i915_mem.c SRCS+= i915_mem.c
CPPFLAGS+= -I${S}/dev/drm CPPFLAGS+= -I${S}/external/bsd/drm/dist/bsd-core \
-I${S}/external/bsd/drm/dist/shared-core
.include <bsd.kmodule.mk> .include <bsd.kmodule.mk>

View File

@ -1,8 +1,9 @@
# $NetBSD: Makefile,v 1.5 2008/10/15 14:09:21 pooka Exp $ # $NetBSD: Makefile,v 1.6 2009/06/22 13:13:08 tron Exp $
.include "../Makefile.inc" .include "../Makefile.inc"
.PATH: ${S}/dev/pci/drm .PATH: ${S}/external/bsd/drm/dist/bsd-core
.PATH: ${S}/external/bsd/drm/dist/shared-core
KMOD= radeondrm KMOD= radeondrm
@ -14,6 +15,7 @@ SRCS+= radeon_irq.c
SRCS+= radeon_mem.c SRCS+= radeon_mem.c
SRCS+= radeon_state.c SRCS+= radeon_state.c
CPPFLAGS+= -I${S}/dev/drm CPPFLAGS+= -I${S}/external/bsd/drm/dist/bsd-core \
-I${S}/external/bsd/drm/dist/shared-core
.include <bsd.kmodule.mk> .include <bsd.kmodule.mk>