mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-29 21:26:51 +00:00
Clean up Makefile, and remove the last vestiges of NOBLOCKRANDOM.
This commit is contained in:
parent
7afb656f3f
commit
c202cd74f8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=71080
|
@ -4,23 +4,11 @@
|
|||
.PATH: ${.CURDIR}/../../crypto/blowfish
|
||||
|
||||
KMOD= random
|
||||
SRCS= bus_if.h device_if.h randomdev.c yarrow.c hash.c
|
||||
SRCS= randomdev.c yarrow.c hash.c
|
||||
SRCS+= bf_cbc.c bf_skey.c bf_enc.c
|
||||
SRCS+= vnode_if.h opt_noblockrandom.h
|
||||
SRCS+= bus_if.h device_if.h vnode_if.h
|
||||
NOMAN= yes
|
||||
|
||||
CFLAGS+= -I${.CURDIR}/../..
|
||||
|
||||
# Uncomment the below macro to make a /dev/random that will not block at
|
||||
# boot time. Useful for personal workstations and the like where reboot
|
||||
# speed is paramount.
|
||||
#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>
|
||||
|
|
Loading…
Reference in a new issue