aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/random
diff options
context:
space:
mode:
authorMark Murray <markm@FreeBSD.org>2000-10-27 06:06:04 +0000
committerMark Murray <markm@FreeBSD.org>2000-10-27 06:06:04 +0000
commit5f3431b5ade253e5ea547b3bff5c61145da6c741 (patch)
tree4fa3dfc63e35a19a95246d99c23c0bb631793a77 /sys/modules/random
parentcb16d62f47abc20e65f7241c6071cb56607fcc1f (diff)
Notes
Diffstat (limited to 'sys/modules/random')
-rw-r--r--sys/modules/random/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/sys/modules/random/Makefile b/sys/modules/random/Makefile
index 5b2a261bd13eb..d736feb2eb4a4 100644
--- a/sys/modules/random/Makefile
+++ b/sys/modules/random/Makefile
@@ -5,8 +5,17 @@
KMOD = random
SRCS = bus_if.h device_if.h randomdev.c yarrow.c hash.c
SRCS += bf_cbc.c bf_skey.c bf_enc.c
-SRCS += vnode_if.h
+SRCS += vnode_if.h opt_noblockrandom.h
CFLAGS += -I${.CURDIR}/../..
NOMAN = yes
+NOBLOCKRANDOM= yes
+.if defined(NOBLOCKRANDOM)
+RANDOM_OPTS= "\#define NOBLOCKRANDOM"
+.endif
+
+opt_noblockrandom.h:
+ touch opt_noblockrandom.h
+ echo $(RANDOM_OPTS) >> opt_noblockrandom.h
+
.include <bsd.kmod.mk>