diff options
Diffstat (limited to 'sys/modules/random/Makefile')
-rw-r--r-- | sys/modules/random/Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/sys/modules/random/Makefile b/sys/modules/random/Makefile index 5b2a261..d736feb 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> |