diff options
author | Eric Anholt <anholt@freebsd.org> | 2004-05-09 22:36:19 +0000 |
---|---|---|
committer | Eric Anholt <anholt@freebsd.org> | 2004-05-09 22:36:19 +0000 |
commit | c47b611b08327da4a5249d222079be07c26fb2ff (patch) | |
tree | 22b230f2aa2d6191cd4e0f98082a998e438ba41a /bsd-core/mach64/Makefile | |
parent | dfdf8e14d3f8e4ceb0cad396efc8b4ecb587d5f6 (diff) |
Add mach64 DRM module for BSD (untested, but compiles).
Diffstat (limited to 'bsd-core/mach64/Makefile')
-rw-r--r-- | bsd-core/mach64/Makefile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/bsd-core/mach64/Makefile b/bsd-core/mach64/Makefile new file mode 100644 index 00000000..741b8eea --- /dev/null +++ b/bsd-core/mach64/Makefile @@ -0,0 +1,23 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/.. +KMOD = mach64 +NOMAN= YES +SRCS = mach64_dma.c mach64_drv.c mach64_irq.c mach64_state.c +SRCS += device_if.h bus_if.h pci_if.h opt_drm.h +CFLAGS += ${DEBUG_FLAGS} -I. -I.. + +.if defined(DRM_DEBUG) +DRM_DEBUG_OPT= "\#define DRM_DEBUG 1" +.endif + +.if !defined(DRM_NOLINUX) +DRM_LINUX_OPT= "\#define DRM_LINUX 1" +.endif + +opt_drm.h: + touch opt_drm.h + echo $(DRM_DEBUG_OPT) >> opt_drm.h + echo $(DRM_LINUX_OPT) >> opt_drm.h + +.include <bsd.kmod.mk> |