summaryrefslogtreecommitdiff
path: root/bsd-core/mga/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'bsd-core/mga/Makefile')
-rw-r--r--bsd-core/mga/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/bsd-core/mga/Makefile b/bsd-core/mga/Makefile
new file mode 100644
index 00000000..226728b5
--- /dev/null
+++ b/bsd-core/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>