summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2000-06-25 10:12:33 +0000
committermarkm <markm@FreeBSD.org>2000-06-25 10:12:33 +0000
commita66f2ab5fa451490402fa639f471d5d061616c55 (patch)
tree101255b682d81db93c4f4244c05612250fe2dadc /sys
parent0417c878cd67620aeee73e3a0eb8a30db01aa21f (diff)
downloadFreeBSD-src-a66f2ab5fa451490402fa639f471d5d061616c55.zip
FreeBSD-src-a66f2ab5fa451490402fa639f471d5d061616c55.tar.gz
Build the entropy device (/dev/random) as a module. This may not
be a permanent rule, because this device may eventually be deemed "effectively compulsory", and built by default directly into the kernel. For the moment, however, this is useful for debugging and development. Reviewed by: dfr
Diffstat (limited to 'sys')
-rw-r--r--sys/modules/Makefile4
-rw-r--r--sys/modules/random/Makefile13
-rw-r--r--sys/modules/randomdev/Makefile13
3 files changed, 28 insertions, 2 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index 198f6d9..16a805a 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -6,8 +6,8 @@ SUBDIR= accf_data accf_http agp aha amr an aue \
ccd cd9660 coda cue dc fdesc fxp if_disc if_ef \
if_ppp if_sl if_tun ipfilter ipfw ispfw joy kernfs kue \
md mfs mii mlx msdos ncp netgraph nfs ntfs nullfs \
- nwfs oldcard pccard pcic portal procfs rl rp sf sis sk sn ste syscons \
- ti tl twe tx \
+ nwfs oldcard pccard pcic portal procfs randomdev \
+ rl rp sf sis sk sn ste syscons ti tl twe tx \
udbp ugen uhid ukbd ulpt umapfs umass umodem ums union urio usb \
vinum vn vpo vr wb wx xl
diff --git a/sys/modules/random/Makefile b/sys/modules/random/Makefile
new file mode 100644
index 0000000..93b9789
--- /dev/null
+++ b/sys/modules/random/Makefile
@@ -0,0 +1,13 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../dev/randomdev
+.PATH: ${.CURDIR}/../../crypto/blowfish
+#.PATH: ${.CURDIR}/../../crypto/des
+KMOD = randomdev
+SRCS = bus_if.h device_if.h randomdev.c yarrow.c
+SRCS += bf_cbc.c bf_skey.c bf_enc.c
+CFLAGS += -I${.CURDIR}/../../dev/randomdev
+#SRCS += sha1.c des_setkey.c des_ecb.c
+NOMAN = yes
+
+.include <bsd.kmod.mk>
diff --git a/sys/modules/randomdev/Makefile b/sys/modules/randomdev/Makefile
new file mode 100644
index 0000000..93b9789
--- /dev/null
+++ b/sys/modules/randomdev/Makefile
@@ -0,0 +1,13 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../dev/randomdev
+.PATH: ${.CURDIR}/../../crypto/blowfish
+#.PATH: ${.CURDIR}/../../crypto/des
+KMOD = randomdev
+SRCS = bus_if.h device_if.h randomdev.c yarrow.c
+SRCS += bf_cbc.c bf_skey.c bf_enc.c
+CFLAGS += -I${.CURDIR}/../../dev/randomdev
+#SRCS += sha1.c des_setkey.c des_ecb.c
+NOMAN = yes
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud