summaryrefslogtreecommitdiff
path: root/bsd/mga/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'bsd/mga/Makefile')
-rw-r--r--bsd/mga/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/bsd/mga/Makefile b/bsd/mga/Makefile
new file mode 100644
index 000000000..226728b5f
--- /dev/null
+++ b/bsd/mga/Makefile
@@ -0,0 +1,16 @@
+# $FreeBSD$
+
+KMOD = mga
+SRCS = mga_drv.c mga_context.c mga_state.c mga_bufs.c mga_dma.c
+SRCS += device_if.h bus_if.h pci_if.h
+CFLAGS += ${DEBUG_FLAGS} -I..
+KERN = /usr/src/sys
+KMODDEPS = drm
+
+@:
+ ln -sf /sys @
+
+machine:
+ ln -sf /sys/i386/include machine
+
+.include <bsd.kmod.mk>