diff options
author | David Dawes <dawes@xfree86.org> | 2002-01-27 18:23:04 +0000 |
---|---|---|
committer | David Dawes <dawes@xfree86.org> | 2002-01-27 18:23:04 +0000 |
commit | 16bd14926e02e4dbc6e74689bdb3eb90f30a0233 (patch) | |
tree | 9d7cb6b98165c9e2a9091c41a39acca11d6fa162 /bsd/i830/Makefile | |
parent | f18a6d836b5e0081dff9217b44e88e74c421c576 (diff) |
Initial revision
Diffstat (limited to 'bsd/i830/Makefile')
-rw-r--r-- | bsd/i830/Makefile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/bsd/i830/Makefile b/bsd/i830/Makefile new file mode 100644 index 00000000..c973cf92 --- /dev/null +++ b/bsd/i830/Makefile @@ -0,0 +1,25 @@ +# $FreeBSD$ + +KMOD= i830 +NOMAN= YES +SRCS= i830_drv.c i830_dma.c +SRCS+= device_if.h bus_if.h pci_if.h opt_drm_linux.h +CFLAGS+= ${DEBUG_FLAGS} -I. -I.. + +@: + ln -sf /sys @ + +machine: + ln -sf /sys/i386/include machine + +.if ${MACHINE_ARCH} == "i386" +# This line enables linux ioctl handling +# If you want support for this uncomment this line +#I830_OPTS= "\#define DRM_LINUX" 1 +.endif + +opt_drm_linux.h: + touch opt_drm_linux.h + echo $(I830_OPTS) >> opt_drm_linux.h + +.include <bsd.kmod.mk> |