diff --git a/sys/modules/Makefile b/sys/modules/Makefile index 86ed1b90ac5..91b75070985 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