summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2000-07-07 09:38:01 +0000
committermarkm <markm@FreeBSD.org>2000-07-07 09:38:01 +0000
commit94bc8a09a9ae84427da54035cd40f378c9e1f675 (patch)
treeb8fbb035bc93bf4ed04124c734b50444987e019c /sys
parentf5ab356ef72a0c1098e2c376ac02c5169a60b264 (diff)
downloadFreeBSD-src-94bc8a09a9ae84427da54035cd40f378c9e1f675.zip
FreeBSD-src-94bc8a09a9ae84427da54035cd40f378c9e1f675.tar.gz
Honour appropriate no-crypto flags.
Diffstat (limited to 'sys')
-rw-r--r--sys/modules/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index 86ed1b9..91b7507 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -2,11 +2,15 @@
# XXX present but broken: ip_mroute_mod
+.if exists(${.CURDIR}/../crypto) && !defined(NOCRYPT)
+_randomdev= randomdev
+.endif
+
SUBDIR= 3dfx 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 randomdev \
+ nwfs oldcard pccard pcic portal procfs ${_randomdev} \
rl rp sf sis sk sn sound 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
OpenPOWER on IntegriCloud