aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/mem/Makefile
diff options
context:
space:
mode:
authorMark Murray <markm@FreeBSD.org>2004-08-01 11:40:54 +0000
committerMark Murray <markm@FreeBSD.org>2004-08-01 11:40:54 +0000
commit8ab2f5ecc596131f6ca790d6ae35540c06ed7985 (patch)
tree6d7271eea5bb8ced5f0b1cdd585641f60f5622e5 /sys/modules/mem/Makefile
parentdcd6f4bd48d807bb13902081e85eb92149c5be73 (diff)
downloadsrc-8ab2f5ecc596131f6ca790d6ae35540c06ed7985.tar.gz
src-8ab2f5ecc596131f6ca790d6ae35540c06ed7985.zip
Break out the MI part of the /dev/[k]mem and /dev/io drivers into
their own directory and module, leaving the MD parts in the MD area (the MD parts _are_ part of the modules). /dev/mem and /dev/io are now loadable modules, thus taking us one step further towards a kernel created entirely out of modules. Of course, there is nothing preventing the kernel from having these statically compiled.
Notes
Notes: svn path=/head/; revision=132956
Diffstat (limited to 'sys/modules/mem/Makefile')
-rw-r--r--sys/modules/mem/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/modules/mem/Makefile b/sys/modules/mem/Makefile
new file mode 100644
index 000000000000..d1529a53f971
--- /dev/null
+++ b/sys/modules/mem/Makefile
@@ -0,0 +1,10 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../dev/mem
+.PATH: ${.CURDIR}/../../${MACHINE_ARCH}/${MACHINE_ARCH}
+
+KMOD= mem
+SRCS= memdev.c mem.c
+SRCS+= bus_if.h device_if.h vnode_if.h
+
+.include <bsd.kmod.mk>