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
This commit is contained in:
markm 2000-06-25 10:12:33 +00:00
parent 0417c878cd
commit a66f2ab5fa
3 changed files with 28 additions and 2 deletions

View File

@ -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

View File

@ -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>

View File

@ -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>