From fd8b5fb2c763be1ae924c530171e389cbfe5ff5b Mon Sep 17 00:00:00 2001 From: Mark Murray Date: Fri, 7 Jul 2000 09:38:01 +0000 Subject: [PATCH] Honour appropriate no-crypto flags. --- sys/modules/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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