aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/Makefile
diff options
context:
space:
mode:
authorMark Murray <markm@FreeBSD.org>2000-07-07 09:38:01 +0000
committerMark Murray <markm@FreeBSD.org>2000-07-07 09:38:01 +0000
commitfd8b5fb2c763be1ae924c530171e389cbfe5ff5b (patch)
tree646de8a2405a811a20cb3d3a1b9c961499e8213d /sys/modules/Makefile
parentda3fb6b476b72fe44dd394fd7e71968498fac3d6 (diff)
Notes
Diffstat (limited to 'sys/modules/Makefile')
-rw-r--r--sys/modules/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index 86ed1b90ac51..91b750709853 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