diff --git a/sys/modules/drm/Makefile b/sys/modules/drm/Makefile index 40387f57d3f8..651672c74355 100644 --- a/sys/modules/drm/Makefile +++ b/sys/modules/drm/Makefile @@ -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" -.PATH: ${S}/dev/drm +.PATH: ${S}/external/bsd/drm/dist/bsd-core KMOD= drm @@ -23,4 +23,6 @@ SRCS+= drm_scatter.c SRCS+= drm_sysctl.c SRCS+= drm_vm.c +CPPFLAGS+= -I${S}/external/bsd/drm/dist/shared-core + .include diff --git a/sys/modules/i915drm/Makefile b/sys/modules/i915drm/Makefile index a43f26982179..e03b730b7261 100644 --- a/sys/modules/i915drm/Makefile +++ b/sys/modules/i915drm/Makefile @@ -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" -.PATH: ${S}/dev/pci/drm +.PATH: ${S}/external/bsd/drm/dist/bsd-core +.PATH: ${S}/external/bsd/drm/dist/shared-core KMOD= i915drm @@ -11,6 +12,7 @@ SRCS+= i915_drv.c SRCS+= i915_irq.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 diff --git a/sys/modules/radeondrm/Makefile b/sys/modules/radeondrm/Makefile index c309218248c7..9ebf84c3169b 100644 --- a/sys/modules/radeondrm/Makefile +++ b/sys/modules/radeondrm/Makefile @@ -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" -.PATH: ${S}/dev/pci/drm +.PATH: ${S}/external/bsd/drm/dist/bsd-core +.PATH: ${S}/external/bsd/drm/dist/shared-core KMOD= radeondrm @@ -14,6 +15,7 @@ SRCS+= radeon_irq.c SRCS+= radeon_mem.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